1 error[E0734]: stability attributes may not be used outside of the standard library
2 --> $DIR/stability-attribute-non-staged.rs:1:1
7 error[E0734]: stability attributes may not be used outside of the standard library
8 --> $DIR/stability-attribute-non-staged.rs:2:1
13 error[E0734]: stability attributes may not be used outside of the standard library
14 --> $DIR/stability-attribute-non-staged.rs:3:1
16 LL | #[rustc_deprecated()]
17 | ^^^^^^^^^^^^^^^^^^^^^
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0734`.