]> git.lizzy.rs Git - rust.git/blob - tests/ui/unsafe_removed_from_name.stderr
Merge pull request #1520 from Manishearth/rustup
[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: lint level defined here
8  --> $DIR/unsafe_removed_from_name.rs:5:9
9   |
10 5 | #![deny(unsafe_removed_from_name)]
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: removed "unsafe" from the name of `UnsafeCell` in use as `TotallySafeCellAgain`
14   --> $DIR/unsafe_removed_from_name.rs:10:1
15    |
16 10 | use std::cell::UnsafeCell as TotallySafeCellAgain;
17    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error: removed "unsafe" from the name of `Unsafe` in use as `LieAboutModSafety`
20   --> $DIR/unsafe_removed_from_name.rs:25:1
21    |
22 25 | use mod_with_some_unsafe_things::Unsafe as LieAboutModSafety;
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error: aborting due to 3 previous errors
26