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:18:13
7 note: the lint level is defined here
8 --> $DIR/rustc_deprecation-in-future.rs:3: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:19:13
19 error: aborting due to 2 previous errors