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
7 note: the lint level is defined here
8 --> $DIR/rustc_deprecation-in-future.rs:1:9
10 LL | #![deny(deprecated_in_future)]
11 | ^^^^^^^^^^^^^^^^^^^^
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
19 error: aborting due to 2 previous errors