]> git.lizzy.rs Git - rust.git/blob - tests/ui/unsafe_removed_from_name.stderr
Move all our tests back to ui tests
[rust.git] / tests / ui / unsafe_removed_from_name.stderr
1 error: removed "unsafe" from the name of `UnsafeCell` in use as `TotallySafeCell`
2  --> $DIR/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  --> $DIR/unsafe_removed_from_name.rs:9:1
11   |
12 9 | use std::cell::UnsafeCell as TotallySafeCellAgain;
13   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15 error: removed "unsafe" from the name of `Unsafe` in use as `LieAboutModSafety`
16   --> $DIR/unsafe_removed_from_name.rs:23:1
17    |
18 23 | use mod_with_some_unsafe_things::Unsafe as LieAboutModSafety;
19    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20
21 error: aborting due to 3 previous errors
22