We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 425e1ea commit 14f9f2bCopy full SHA for 14f9f2b
clippy_lints/src/attrs.rs
@@ -357,7 +357,8 @@ impl<'tcx> LateLintPass<'tcx> for Attributes {
357
"wildcard_imports"
358
| "enum_glob_use"
359
| "redundant_pub_crate"
360
- | "macro_use_imports",
+ | "macro_use_imports"
361
+ | "unsafe_removed_from_name",
362
)
363
})
364
{
tests/ui/unsafe_removed_from_name.rs
@@ -24,4 +24,7 @@ use mod_with_some_unsafe_things::Unsafe as LieAboutModSafety;
24
use mod_with_some_unsafe_things::Safe as IPromiseItsSafeThisTime;
25
use mod_with_some_unsafe_things::Unsafe as SuperUnsafeModThing;
26
27
+#[allow(clippy::unsafe_removed_from_name)]
28
+use mod_with_some_unsafe_things::Unsafe as SuperSafeThing;
29
+
30
fn main() {}
0 commit comments