2018-08-08 14:28:26 +02:00
|
|
|
error[E0541]: unknown meta item 'reason'
|
2023-10-16 13:11:26 -07:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:8:46
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2023-10-16 13:11:26 -07:00
|
|
|
LL | #[stable(feature = "a", since = "4.4.4", reason)]
|
|
|
|
|
| ^^^^^^ expected one of `feature`, `since`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2025-03-05 14:35:54 +01:00
|
|
|
error[E0539]: malformed `stable` attribute input
|
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:11:5
|
|
|
|
|
|
|
|
|
|
|
LL | #[stable(feature = "a", since)]
|
2025-03-08 18:58:05 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^-----^^
|
|
|
|
|
| | |
|
|
|
|
|
| | expected this to be of the form `since = "..."`
|
|
|
|
|
| help: must be of the form: `#[stable(feature = "name", since = "version")]`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2025-03-05 14:35:54 +01:00
|
|
|
error[E0539]: malformed `stable` attribute input
|
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:14:5
|
|
|
|
|
|
|
|
|
|
|
LL | #[stable(feature, since = "3.3.3")]
|
2025-03-08 18:58:05 +01:00
|
|
|
| ^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
| | |
|
|
|
|
|
| | expected this to be of the form `feature = "..."`
|
|
|
|
|
| help: must be of the form: `#[stable(feature = "name", since = "version")]`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2025-03-05 14:35:54 +01:00
|
|
|
error[E0539]: malformed `stable` attribute input
|
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:17:5
|
|
|
|
|
|
|
|
|
|
|
LL | #[stable(feature = "a", since(b))]
|
2025-03-08 18:58:05 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^--------^^
|
|
|
|
|
| | |
|
|
|
|
|
| | expected this to be of the form `since = "..."`
|
|
|
|
|
| help: must be of the form: `#[stable(feature = "name", since = "version")]`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2025-03-05 14:35:54 +01:00
|
|
|
error[E0539]: malformed `stable` attribute input
|
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:20:5
|
|
|
|
|
|
|
|
|
|
|
LL | #[stable(feature(b), since = "3.3.3")]
|
2025-03-08 18:58:05 +01:00
|
|
|
| ^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
| | |
|
|
|
|
|
| | expected this to be of the form `feature = "..."`
|
|
|
|
|
| help: must be of the form: `#[stable(feature = "name", since = "version")]`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
error[E0546]: missing 'feature'
|
2019-01-02 02:21:05 +03:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:25:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-12-21 13:16:18 +02:00
|
|
|
LL | #[unstable(issue = "none")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
error[E0547]: missing 'issue'
|
2019-01-02 02:21:05 +03:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:28:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[unstable(feature = "b")]
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error[E0546]: missing 'feature'
|
2019-01-02 02:21:05 +03:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:31:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2023-10-16 13:11:26 -07:00
|
|
|
LL | #[stable(since = "3.3.3")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
error[E0542]: missing 'since'
|
2019-01-02 02:21:05 +03:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:36:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[stable(feature = "a")]
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error[E0542]: missing 'since'
|
2019-01-02 02:21:05 +03:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:40:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2022-03-04 21:59:18 -05:00
|
|
|
LL | #[deprecated(note = "a")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2022-02-15 02:00:21 -05:00
|
|
|
error[E0543]: missing 'note'
|
2019-09-26 13:24:41 +02:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:44:5
|
|
|
|
|
|
|
2023-10-29 22:25:13 -07:00
|
|
|
LL | #[deprecated(since = "5.5.5")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-09-26 13:24:41 +02:00
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
error[E0544]: multiple stability levels
|
2019-09-26 13:24:41 +02:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:49:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2023-10-16 13:11:26 -07:00
|
|
|
LL | #[stable(feature = "a", since = "4.4.4")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
error[E0544]: multiple stability levels
|
2019-09-26 13:24:41 +02:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:53:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-12-21 13:16:18 +02:00
|
|
|
LL | #[unstable(feature = "b", issue = "none")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
error[E0544]: multiple stability levels
|
2019-09-26 13:24:41 +02:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:57:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2023-10-16 13:11:26 -07:00
|
|
|
LL | #[stable(feature = "a", since = "4.4.4")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: 'since' must be a Rust version number, such as "1.31.0"
|
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:60:1
|
|
|
|
|
|
|
|
|
|
|
LL | #[stable(feature = "e", since = "b")]
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2025-02-09 22:50:01 +01:00
|
|
|
error: multiple `deprecated` attributes
|
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:62:1
|
|
|
|
|
|
|
|
|
|
|
LL | #[deprecated(since = "5.5.5", note = "text")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
|
|
note: attribute also specified here
|
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:61:1
|
|
|
|
|
|
|
|
|
|
|
LL | #[deprecated(since = "5.5.5", note = "text")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2019-12-08 01:43:10 +01:00
|
|
|
error[E0544]: multiple stability levels
|
2023-10-23 23:11:53 -07:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:64:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-12-21 13:16:18 +02:00
|
|
|
LL | #[rustc_const_unstable(feature = "d", issue = "none")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-10-26 10:14:29 -07:00
|
|
|
error: 'since' must be a Rust version number, such as "1.31.0"
|
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:68:1
|
2020-12-09 18:26:42 -05:00
|
|
|
|
|
2023-10-26 10:14:29 -07:00
|
|
|
LL | #[deprecated(since = "invalid", note = "text")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-12-09 18:26:42 -05:00
|
|
|
|
2022-03-04 21:59:18 -05:00
|
|
|
error[E0549]: deprecated attribute must be paired with either stable or unstable attribute
|
2023-10-26 10:14:29 -07:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:71:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2023-10-29 22:25:13 -07:00
|
|
|
LL | #[deprecated(since = "5.5.5", note = "text")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-10-16 13:11:26 -07:00
|
|
|
error[E0711]: feature `a` is declared stable since 1.0.0, but was previously declared stable since 4.4.4
|
2023-10-23 23:11:53 -07:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:67:1
|
2022-01-19 16:24:49 +01:00
|
|
|
|
|
|
|
|
|
LL | #[stable(feature = "a", since = "1.0.0")]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-10-23 23:11:53 -07:00
|
|
|
error: aborting due to 20 previous errors
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2023-01-09 15:44:33 +13:00
|
|
|
Some errors have detailed explanations: E0539, E0541, E0542, E0543, E0544, E0546, E0547, E0549, E0711.
|
2020-05-02 21:14:08 +03:00
|
|
|
For more information about an error, try `rustc --explain E0539`.
|