]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/unsafe_removed_from_name.stderr
Make most tests an `example` so we can run them one by one
[rust.git] / clippy_tests / examples / unsafe_removed_from_name.stderr
1 error: removed "unsafe" from the name of `UnsafeCell` in use as `TotallySafeCell`
2  --> examples/unsafe_removed_from_name.rs:7:1
3   |
4 7 | use std::cell::{UnsafeCell as TotallySafeCell};
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: `-D unsafe-removed-from-name` implied by `-D warnings`
8
9 error: removed "unsafe" from the name of `UnsafeCell` in use as `TotallySafeCellAgain`
10  --> examples/unsafe_removed_from_name.rs:9:1
11   |
12 9 | use std::cell::UnsafeCell as TotallySafeCellAgain;
13   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14   |
15   = note: `-D unsafe-removed-from-name` implied by `-D warnings`
16
17 error: removed "unsafe" from the name of `Unsafe` in use as `LieAboutModSafety`
18   --> examples/unsafe_removed_from_name.rs:23:1
19    |
20 23 | use mod_with_some_unsafe_things::Unsafe as LieAboutModSafety;
21    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22    |
23    = note: `-D unsafe-removed-from-name` implied by `-D warnings`
24
25 error: aborting due to 3 previous errors
26
27 error: Could not compile `clippy_tests`.
28
29 To learn more, run the command again with --verbose.