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

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

25 lines
910 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0538]: multiple 'feature' items
2018-12-25 15:56:47 +00:00
--> $DIR/stability-attribute-sanity-2.rs:7:25
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #[stable(feature = "a", feature = "b", since = "1.0.0")]
2018-08-08 12:28:26 +00:00
| ^^^^^^^^^^^^^
error[E0541]: unknown meta item 'sinse'
2018-12-25 15:56:47 +00:00
--> $DIR/stability-attribute-sanity-2.rs:10:25
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #[stable(feature = "a", sinse = "1.0.0")]
| ^^^^^^^^^^^^^^^ expected one of `feature`, `since`
2018-08-08 12:28:26 +00:00
2020-02-06 07:19:39 +00:00
error[E0545]: `issue` must be a non-zero numeric string or "none"
2020-01-22 15:33:46 +00:00
--> $DIR/stability-attribute-sanity-2.rs:13:27
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #[unstable(feature = "a", issue = "no")]
2020-01-22 15:33:46 +00:00
| ^^^^^^^^----
| |
| invalid digit found in string
2018-08-08 12:28:26 +00:00
error: aborting due to 3 previous errors
2021-02-15 18:16:39 +00:00
Some errors have detailed explanations: E0538, E0541, E0545.
2018-08-08 12:28:26 +00:00
For more information about an error, try `rustc --explain E0538`.