1
- error: malformed `unstable` attribute input
1
+ error[E0539] : malformed `unstable` attribute input
2
2
--> $DIR/stability-attribute-sanity-4.rs:8:5
3
3
|
4
4
LL | #[unstable]
5
- | ^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
5
+ | ^^^^^^^^^^^
6
+ | |
7
+ | expected this to be a list
8
+ | help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
6
9
7
- error: malformed `unstable` attribute input
10
+ error[E0539] : malformed `unstable` attribute input
8
11
--> $DIR/stability-attribute-sanity-4.rs:11:5
9
12
|
10
13
LL | #[unstable = "b"]
11
- | ^^^^^^^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
14
+ | ^^^^^^^^^^^^^^^^^
15
+ | |
16
+ | expected this to be a list
17
+ | help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
12
18
13
- error: malformed `stable` attribute input
19
+ error[E0539] : malformed `stable` attribute input
14
20
--> $DIR/stability-attribute-sanity-4.rs:14:5
15
21
|
16
22
LL | #[stable]
17
- | ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]`
23
+ | ^^^^^^^^^
24
+ | |
25
+ | expected this to be a list
26
+ | help: must be of the form: `#[stable(feature = "name", since = "version")]`
18
27
19
- error: malformed `stable` attribute input
28
+ error[E0539] : malformed `stable` attribute input
20
29
--> $DIR/stability-attribute-sanity-4.rs:17:5
21
30
|
22
31
LL | #[stable = "a"]
23
- | ^^^^^^^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]`
32
+ | ^^^^^^^^^^^^^^^
33
+ | |
34
+ | expected this to be a list
35
+ | help: must be of the form: `#[stable(feature = "name", since = "version")]`
24
36
25
37
error[E0542]: missing 'since'
26
38
--> $DIR/stability-attribute-sanity-4.rs:21:5
@@ -42,5 +54,5 @@ LL | #[deprecated = "a"]
42
54
43
55
error: aborting due to 7 previous errors
44
56
45
- Some errors have detailed explanations: E0542, E0543.
46
- For more information about an error, try `rustc --explain E0542 `.
57
+ Some errors have detailed explanations: E0539, E0542, E0543.
58
+ For more information about an error, try `rustc --explain E0539 `.
0 commit comments