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:4 :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)]`
20
+ error : attribute must be of the form `#[inline]` or `#[inline(always|never)]`
21
21
--> $DIR/malformed-regressions.rs:5:1
22
22
|
23
23
LL | #[inline = ""]
@@ -26,23 +26,25 @@ LL | #[inline = ""]
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|...",
29
+ error : attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...",
30
30
/*opt*/ cfg = "...")]`
31
- --> $DIR/malformed-regressions.rs:6 :1
31
+ --> $DIR/malformed-regressions.rs:7 :1
32
32
|
33
33
LL | #[link]
34
34
| ^^^^^^^
35
35
|
36
36
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
37
37
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
38
38
39
- warning : attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...",
39
+ error : attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...",
40
40
/*opt*/ cfg = "...")]`
41
- --> $DIR/malformed-regressions.rs:7 :1
41
+ --> $DIR/malformed-regressions.rs:9 :1
42
42
|
43
43
LL | #[link = ""]
44
44
| ^^^^^^^^^^^^
45
45
|
46
46
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
47
47
= note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
48
48
49
+ error: aborting due to 5 previous errors
50
+
0 commit comments