1 error: removed "unsafe" from the name of `UnsafeCell` in use as `TotallySafeCell`
2 --> examples/unsafe_removed_from_name.rs:7:1
4 7 | use std::cell::{UnsafeCell as TotallySafeCell};
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D unsafe-removed-from-name` implied by `-D warnings`
9 error: removed "unsafe" from the name of `UnsafeCell` in use as `TotallySafeCellAgain`
10 --> examples/unsafe_removed_from_name.rs:9:1
12 9 | use std::cell::UnsafeCell as TotallySafeCellAgain;
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 = note: `-D unsafe-removed-from-name` implied by `-D warnings`
17 error: removed "unsafe" from the name of `Unsafe` in use as `LieAboutModSafety`
18 --> examples/unsafe_removed_from_name.rs:23:1
20 23 | use mod_with_some_unsafe_things::Unsafe as LieAboutModSafety;
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 = note: `-D unsafe-removed-from-name` implied by `-D warnings`
25 error: aborting due to 3 previous errors
27 error: Could not compile `clippy_tests`.
29 To learn more, run the command again with --verbose.