|
1 | 1 | error[E0734]: stability attributes may not be used outside of the standard library
|
2 |
| - --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:7:1 |
| 2 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:16:9 |
3 | 3 | |
|
4 |
| -LL | #![rustc_deprecated()] |
5 |
| - | ^^^^^^^^^^^^^^^^^^^^^^ |
| 4 | +LL | #![rustc_deprecated()] |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
6 | 6 |
|
7 | 7 | error[E0734]: stability attributes may not be used outside of the standard library
|
8 |
| - --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:10:1 |
| 8 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:21:5 |
9 | 9 | |
|
10 |
| -LL | #[rustc_deprecated()] |
11 |
| - | ^^^^^^^^^^^^^^^^^^^^^ |
| 10 | +LL | #[rustc_deprecated()] |
| 11 | + | ^^^^^^^^^^^^^^^^^^^^^ |
12 | 12 |
|
13 | 13 | error[E0734]: stability attributes may not be used outside of the standard library
|
14 |
| - --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:13:17 |
| 14 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:26:5 |
15 | 15 | |
|
16 |
| -LL | mod inner { #![rustc_deprecated()] } |
17 |
| - | ^^^^^^^^^^^^^^^^^^^^^^ |
| 16 | +LL | #[rustc_deprecated()] |
| 17 | + | ^^^^^^^^^^^^^^^^^^^^^ |
18 | 18 |
|
19 | 19 | error[E0734]: stability attributes may not be used outside of the standard library
|
20 |
| - --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:16:5 |
| 20 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:32:5 |
21 | 21 | |
|
22 |
| -LL | #[rustc_deprecated()] fn f() { } |
| 22 | +LL | #[rustc_deprecated()] |
23 | 23 | | ^^^^^^^^^^^^^^^^^^^^^
|
24 | 24 |
|
25 | 25 | error[E0734]: stability attributes may not be used outside of the standard library
|
26 |
| - --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:19:5 |
| 26 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:37:5 |
27 | 27 | |
|
28 |
| -LL | #[rustc_deprecated()] struct S; |
| 28 | +LL | #[rustc_deprecated()] |
29 | 29 | | ^^^^^^^^^^^^^^^^^^^^^
|
30 | 30 |
|
31 | 31 | error[E0734]: stability attributes may not be used outside of the standard library
|
32 |
| - --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:19:5 |
| 32 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:11:1 |
33 | 33 | |
|
34 |
| -LL | #[rustc_deprecated()] struct S; |
35 |
| - | ^^^^^^^^^^^^^^^^^^^^^ |
| 34 | +LL | #[rustc_deprecated()] |
| 35 | + | ^^^^^^^^^^^^^^^^^^^^^ |
36 | 36 |
|
37 | 37 | error[E0734]: stability attributes may not be used outside of the standard library
|
38 |
| - --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:23:5 |
| 38 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:7:1 |
| 39 | + | |
| 40 | +LL | #![rustc_deprecated()] |
| 41 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
| 42 | + |
| 43 | +error[E0542]: missing 'since' |
| 44 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:7:1 |
| 45 | + | |
| 46 | +LL | #![rustc_deprecated()] |
| 47 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
| 48 | + |
| 49 | +error[E0542]: missing 'since' |
| 50 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:11:1 |
| 51 | + | |
| 52 | +LL | #[rustc_deprecated()] |
| 53 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 54 | + |
| 55 | +error[E0542]: missing 'since' |
| 56 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:16:9 |
| 57 | + | |
| 58 | +LL | #![rustc_deprecated()] |
| 59 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
| 60 | + |
| 61 | +error[E0542]: missing 'since' |
| 62 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:21:5 |
39 | 63 | |
|
40 |
| -LL | #[rustc_deprecated()] type T = S; |
| 64 | +LL | #[rustc_deprecated()] |
41 | 65 | | ^^^^^^^^^^^^^^^^^^^^^
|
42 | 66 |
|
43 |
| -error[E0734]: stability attributes may not be used outside of the standard library |
| 67 | +error[E0542]: missing 'since' |
44 | 68 | --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:26:5
|
45 | 69 | |
|
46 |
| -LL | #[rustc_deprecated()] impl S { } |
| 70 | +LL | #[rustc_deprecated()] |
| 71 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 72 | + |
| 73 | +error[E0542]: missing 'since' |
| 74 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:26:5 |
| 75 | + | |
| 76 | +LL | #[rustc_deprecated()] |
| 77 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 78 | + |
| 79 | +error[E0542]: missing 'since' |
| 80 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:32:5 |
| 81 | + | |
| 82 | +LL | #[rustc_deprecated()] |
| 83 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 84 | + |
| 85 | +error[E0542]: missing 'since' |
| 86 | + --> $DIR/issue-43106-gating-of-rustc_deprecated.rs:37:5 |
| 87 | + | |
| 88 | +LL | #[rustc_deprecated()] |
47 | 89 | | ^^^^^^^^^^^^^^^^^^^^^
|
48 | 90 |
|
49 |
| -error: aborting due to 8 previous errors |
| 91 | +error: aborting due to 15 previous errors |
50 | 92 |
|
51 |
| -For more information about this error, try `rustc --explain E0734`. |
| 93 | +Some errors have detailed explanations: E0542, E0734. |
| 94 | +For more information about an error, try `rustc --explain E0542`. |
0 commit comments