]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/rustc_deprecation-in-future.stderr
Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup
[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