about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_system.rs
diff options
context:
space:
mode:
authorTimo <30553356+y21@users.noreply.github.com>2025-07-21 11:53:28 +0000
committerGitHub <noreply@github.com>2025-07-21 11:53:28 +0000
commitd4dea4bbe7c61311f91d408f2ba0eab3fa1d7de6 (patch)
treef6120e5215b8a1b29930666c191c3f1b7407fb78 /compiler/rustc_codegen_gcc/example/alloc_system.rs
parent0b168815a46bd8132871b909405bf15f12a5438c (diff)
parent92111dcc67a4f19c6a6e8f22633b2f88f64ed6bb (diff)
downloadrust-d4dea4bbe7c61311f91d408f2ba0eab3fa1d7de6.tar.gz
rust-d4dea4bbe7c61311f91d408f2ba0eab3fa1d7de6.zip
Fix false positive in useless_attribute with redundant_imports (#15318)
Fix false positive in `useless_attribute` with `redundant_imports`

Add `redundant_imports` to the list of allowed lints on use items to
prevent
`useless_attribute` from triggering false positives when
`#[expect(redundant_imports)]`
or similar attributes are used on use statements.

fixes rust-lang/rust-clippy#15316

---

changelog: [`useless_attribute`]: fix false positive when using
`#[expect(redundant_imports)]` and similar lint attributes on `use`
statements
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_system.rs')
0 files changed, 0 insertions, 0 deletions