mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 01:55:03 +00:00
18a1831377
ignore `redundant_pub_crate` in `useless_attribute` changelog: [`useless_attribute`] no longer lints [`redundant_pub_crate`] As mentioned in https://github.com/rust-lang/rust-clippy/issues/8732#issuecomment-1106489634 > And it turns out I can't even explicitly allow it at the usage site, because then `clippy::useless_attribute` fires (which would also be a FP?), which is deny-by-default. > > Though it does work if I then allow `clippy::useless_attribute`. 😂 > > ```rust > #[allow(clippy::useless_attribute)] > #[allow(clippy::redundant_pub_crate)] > pub(crate) use bit; > ``` > > The originally-reported warning now no longer occurs. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |