-
Notifications
You must be signed in to change notification settings - Fork 985
style: Remove wildcard imports #4553
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
Conversation
This is based on review feedback from rust-lang#4551. I experimented with a `clippy.toml` file for "blessing" some of these, like `errors`, but for some reason I wasn't able to get it to work.
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.
Thanks!
Head branch was pushed to by a user without write access
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.
LGTM modulo one question: does this change include common exceptions such as super::* in inline tests, or foo::prelude::*? I think we still want those to be excluded.
|
By default there are exceptions, from https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports
|
|
I guess this needs a rebase? Lot of issues in the merge queue CI. |
|
Rebased |
This is based on review feedback from #4551.
I experimented with a
clippy.tomlfile for "blessing" some of these, likeerrors, but for some reason I wasn't able to get it to work.