-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few small issue fixes #10915
A few small issue fixes #10915
Conversation
Should someone test the last commit on an android machine since I don't think bors actually runs any executables on android (iirc)? |
Is #4404 still relevant? |
@@ -140,6 +141,10 @@ impl ParserObsoleteMethods for Parser { | |||
"closures are now written `|A| -> B` rather than `&fn(A) -> \ | |||
B`." | |||
), | |||
ObsoleteMultipleImport => ( | |||
"multiple imports", | |||
"imports should be one per `use` statement" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should maybe talk about the new syntax introduced in #10808?
Rebased with issues addressed |
Looks good to me other than the misspell. Thanks |
…as,xFrednet New lint [`min_ident_chars`] Closes rust-lang#10915 This also implements `WithSearchPat` for `Ident`, as I was going to rewrite this as a late lint to optionally ignore fields and/or generics but this was more complex than anticipated changelog: New lint [`min_ident_chars`] [rust-lang#10916](rust-lang/rust-clippy#10916)
Just a little cleanup.