mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() 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. |
||
---|---|---|
.. | ||
test_utils | ||
ui | ||
ui-cargo | ||
ui-internal | ||
ui-toml | ||
workspace_test | ||
check-fmt.rs | ||
clippy.toml | ||
compile-test.rs | ||
dogfood.rs | ||
integration.rs | ||
lint_message_convention.rs | ||
missing-test-files.rs | ||
versioncheck.rs | ||
workspace.rs |