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