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