]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/rustc_deprecation-in-future.stderr
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
[rust.git] / src / test / ui / deprecation / rustc_deprecation-in-future.stderr
1 error: use of unit struct `S1` that will be deprecated in future version 99.99.99: effectively never
2   --> $DIR/rustc_deprecation-in-future.rs:16:13
3    |
4 LL |     let _ = S1;
5    |             ^^
6    |
7 note: the lint level is defined here
8   --> $DIR/rustc_deprecation-in-future.rs:1:9
9    |
10 LL | #![deny(deprecated_in_future)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: use of unit struct `S2` that will be deprecated in a future Rust version: literally never
14   --> $DIR/rustc_deprecation-in-future.rs:17:13
15    |
16 LL |     let _ = S2;
17    |             ^^
18
19 error: aborting due to 2 previous errors
20