We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
unreachable_pub can apply to use.
unreachable_pub
use
#![warn(unreachable_pub)] #![warn(clippy::useless_attribute)] mod a { mod b { #[allow(unreachable_pub)] pub struct C {} } #[allow(unreachable_pub)] pub use b::C; }
Playground
The text was updated successfully, but these errors were encountered:
Auto merge of #4107 - taiki-e:useless_attribute, r=flip1995
0417a0a
useless_attribute: Add unreachable_pub to whitelists Fixes #4106 changelog: `useless_attribute`: whitelist `unreachable_pub` on `use` items
Successfully merging a pull request may close this issue.
unreachable_pub
can apply touse
.Playground
The text was updated successfully, but these errors were encountered: