1- error: malformed `unstable` attribute input
1+ error[E0539] : malformed `unstable` attribute input
22 --> $DIR/stability-attribute-sanity-4.rs:8:5
33 |
44LL | #[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")]`
69
7- error: malformed `unstable` attribute input
10+ error[E0539] : malformed `unstable` attribute input
811 --> $DIR/stability-attribute-sanity-4.rs:11:5
912 |
1013LL | #[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")]`
1218
13- error: malformed `stable` attribute input
19+ error[E0539] : malformed `stable` attribute input
1420 --> $DIR/stability-attribute-sanity-4.rs:14:5
1521 |
1622LL | #[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")]`
1827
19- error: malformed `stable` attribute input
28+ error[E0539] : malformed `stable` attribute input
2029 --> $DIR/stability-attribute-sanity-4.rs:17:5
2130 |
2231LL | #[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")]`
2436
2537error[E0542]: missing 'since'
2638 --> $DIR/stability-attribute-sanity-4.rs:21:5
@@ -42,5 +54,5 @@ LL | #[deprecated = "a"]
4254
4355error: aborting due to 7 previous errors
4456
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