fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0734]: stability attributes may not be used outside of the standard library 2 --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:7:1 3 | 4LL | #![rustc_deprecated()] 5 | ^^^^^^^^^^^^^^^^^^^^^^ 6 7error[E0734]: stability attributes may not be used outside of the standard library 8 --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:10:1 9 | 10LL | #[rustc_deprecated()] 11 | ^^^^^^^^^^^^^^^^^^^^^ 12 13error[E0734]: stability attributes may not be used outside of the standard library 14 --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:13:17 15 | 16LL | mod inner { #![rustc_deprecated()] } 17 | ^^^^^^^^^^^^^^^^^^^^^^ 18 19error[E0734]: stability attributes may not be used outside of the standard library 20 --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:16:5 21 | 22LL | #[rustc_deprecated()] fn f() { } 23 | ^^^^^^^^^^^^^^^^^^^^^ 24 25error[E0734]: stability attributes may not be used outside of the standard library 26 --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:19:5 27 | 28LL | #[rustc_deprecated()] struct S; 29 | ^^^^^^^^^^^^^^^^^^^^^ 30 31error[E0734]: stability attributes may not be used outside of the standard library 32 --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:19:5 33 | 34LL | #[rustc_deprecated()] struct S; 35 | ^^^^^^^^^^^^^^^^^^^^^ 36 37error[E0734]: stability attributes may not be used outside of the standard library 38 --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:23:5 39 | 40LL | #[rustc_deprecated()] type T = S; 41 | ^^^^^^^^^^^^^^^^^^^^^ 42 43error[E0734]: stability attributes may not be used outside of the standard library 44 --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:26:5 45 | 46LL | #[rustc_deprecated()] impl S { } 47 | ^^^^^^^^^^^^^^^^^^^^^ 48 49error: aborting due to 8 previous errors 50 51For more information about this error, try `rustc --explain E0734`.