|
1 | | -warning: attribute must be of the form `#[doc(hidden|inline|...)]` or `#[doc = "string"]` |
2 | | - --> $DIR/malformed-regressions.rs:3:1 |
| 1 | +error: attribute must be of the form `#[doc(hidden|inline|...)]` or `#[doc = "string"]` |
| 2 | + --> $DIR/malformed-regressions.rs:1:1 |
3 | 3 | | |
4 | 4 | LL | #[doc] |
5 | 5 | | ^^^^^^ |
6 | 6 | | |
7 | | - = note: `#[warn(ill_formed_attribute_input)]` on by default |
| 7 | + = note: `#[deny(ill_formed_attribute_input)]` on by default |
8 | 8 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
9 | 9 | = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> |
10 | 10 |
|
11 | | -warning: attribute must be of the form `#[ignore]` or `#[ignore = "reason"]` |
12 | | - --> $DIR/malformed-regressions.rs:6:1 |
| 11 | +error: attribute must be of the form `#[ignore]` or `#[ignore = "reason"]` |
| 12 | + --> $DIR/malformed-regressions.rs:3:1 |
13 | 13 | | |
14 | 14 | LL | #[ignore()] |
15 | 15 | | ^^^^^^^^^^^ |
16 | 16 | | |
17 | 17 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
18 | 18 | = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> |
19 | 19 |
|
20 | | -warning: attribute must be of the form `#[inline]` or `#[inline(always|never)]` |
21 | | - --> $DIR/malformed-regressions.rs:9:1 |
| 20 | +error: attribute must be of the form `#[inline]` or `#[inline(always|never)]` |
| 21 | + --> $DIR/malformed-regressions.rs:5:1 |
22 | 22 | | |
23 | 23 | LL | #[inline = ""] |
24 | 24 | | ^^^^^^^^^^^^^^ |
25 | 25 | | |
26 | 26 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
27 | 27 | = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> |
28 | 28 |
|
29 | | -warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]` |
30 | | - --> $DIR/malformed-regressions.rs:12:1 |
| 29 | +error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]` |
| 30 | + --> $DIR/malformed-regressions.rs:7:1 |
31 | 31 | | |
32 | 32 | LL | #[link] |
33 | 33 | | ^^^^^^^ |
34 | 34 | | |
35 | 35 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
36 | 36 | = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> |
37 | 37 |
|
38 | | -warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]` |
39 | | - --> $DIR/malformed-regressions.rs:15:1 |
| 38 | +error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ cfg = "...")]` |
| 39 | + --> $DIR/malformed-regressions.rs:9:1 |
40 | 40 | | |
41 | 41 | LL | #[link = ""] |
42 | 42 | | ^^^^^^^^^^^^ |
43 | 43 | | |
44 | 44 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
45 | 45 | = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> |
46 | 46 |
|
| 47 | +error: aborting due to 5 previous errors |
| 48 | + |
0 commit comments