rust/tests/ui/stability-attribute/stability-attribute-sanity-4.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.3 KiB
Plaintext
Raw Normal View History

error: malformed `unstable` attribute input
--> $DIR/stability-attribute-sanity-4.rs:8:5
|
2019-03-09 15:03:44 +03:00
LL | #[unstable]
| ^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
error: malformed `unstable` attribute input
--> $DIR/stability-attribute-sanity-4.rs:11:5
|
2019-03-09 15:03:44 +03:00
LL | #[unstable = "b"]
| ^^^^^^^^^^^^^^^^^ help: must be of the form: `#[unstable(feature = "name", reason = "...", issue = "N")]`
error: malformed `stable` attribute input
--> $DIR/stability-attribute-sanity-4.rs:14:5
|
2019-03-09 15:03:44 +03:00
LL | #[stable]
| ^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]`
error: malformed `stable` attribute input
--> $DIR/stability-attribute-sanity-4.rs:17:5
|
2019-03-09 15:03:44 +03:00
LL | #[stable = "a"]
| ^^^^^^^^^^^^^^^ help: must be of the form: `#[stable(feature = "name", since = "version")]`
2022-01-16 19:50:46 +01:00
error[E0542]: missing 'since'
--> $DIR/stability-attribute-sanity-4.rs:21:5
|
2022-03-04 21:59:18 -05:00
LL | #[deprecated]
| ^^^^^^^^^^^^^
2022-01-16 19:50:46 +01:00
error[E0542]: missing 'since'
2022-03-04 21:59:18 -05:00
--> $DIR/stability-attribute-sanity-4.rs:25:5
2022-01-16 19:50:46 +01:00
|
2022-03-04 21:59:18 -05:00
LL | #[deprecated = "a"]
| ^^^^^^^^^^^^^^^^^^^
2022-01-16 19:50:46 +01:00
2022-03-04 21:59:18 -05:00
error: aborting due to 6 previous errors
2022-01-16 19:50:46 +01:00
For more information about this error, try `rustc --explain E0542`.