2018-08-08 07:28:26 -05:00
|
|
|
error[E0541]: unknown meta item 'reason'
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:8:42
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[stable(feature = "a", since = "b", reason)]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^ expected one of `since`, `note`
|
|
|
|
|
|
|
|
error[E0539]: incorrect meta item
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:11:29
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[stable(feature = "a", since)]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
error[E0539]: incorrect meta item
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:14:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[stable(feature, since = "a")]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
error[E0539]: incorrect meta item
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:17:29
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[stable(feature = "a", since(b))]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
error[E0539]: incorrect meta item
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:20:14
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[stable(feature(b), since = "a")]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0546]: missing 'feature'
|
2019-01-01 17:21:05 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:25:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-12-21 05:16:18 -06:00
|
|
|
LL | #[unstable(issue = "none")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0547]: missing 'issue'
|
2019-01-01 17:21:05 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:28:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[unstable(feature = "b")]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0546]: missing 'feature'
|
2019-01-01 17:21:05 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:31:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[stable(since = "a")]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0542]: missing 'since'
|
2019-01-01 17:21:05 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:36:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[stable(feature = "a")]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0542]: missing 'since'
|
2019-01-01 17:21:05 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:40:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[rustc_deprecated(reason = "a")]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2019-09-26 06:24:41 -05:00
|
|
|
error[E0543]: missing 'reason'
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:44:5
|
|
|
|
|
|
|
|
|
LL | #[rustc_deprecated(since = "a")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-08-08 07:28:26 -05:00
|
|
|
error[E0544]: multiple stability levels
|
2019-09-26 06:24:41 -05:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:49:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[stable(feature = "a", since = "b")]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0544]: multiple stability levels
|
2019-09-26 06:24:41 -05:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:53:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-12-21 05:16:18 -06:00
|
|
|
LL | #[unstable(feature = "b", issue = "none")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error[E0544]: multiple stability levels
|
2019-09-26 06:24:41 -05:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:57:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[stable(feature = "a", since = "b")]
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-07-20 09:11:53 -05:00
|
|
|
error[E0550]: multiple deprecated attributes
|
2020-11-01 05:29:57 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:62:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-11-01 05:29:57 -06:00
|
|
|
LL | #[rustc_deprecated(since = "b", reason = "text")]
|
2020-11-02 06:17:14 -06:00
|
|
|
| ------------------------------------------------- first deprecation attribute
|
2020-11-01 05:29:57 -06:00
|
|
|
LL | #[rustc_deprecated(since = "b", reason = "text")]
|
2020-11-02 06:17:14 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ repeated deprecation attribute
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2019-12-07 18:43:10 -06:00
|
|
|
error[E0544]: multiple stability levels
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:64:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-12-21 05:16:18 -06:00
|
|
|
LL | #[rustc_const_unstable(feature = "d", issue = "none")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2020-12-09 17:26:42 -06:00
|
|
|
error: Invalid stability version found
|
2019-09-26 06:24:41 -05:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:65:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | pub const fn multiple4() { }
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-12-09 17:26:42 -06:00
|
|
|
error: Invalid deprecation version found
|
|
|
|
--> $DIR/stability-attribute-sanity.rs:70:1
|
|
|
|
|
|
|
|
|
LL | fn invalid_deprecation_version() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-08-08 07:28:26 -05:00
|
|
|
error[E0549]: rustc_deprecated attribute must be paired with either stable or unstable attribute
|
2020-12-09 17:26:42 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:72:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-11-01 05:29:57 -06:00
|
|
|
LL | #[rustc_deprecated(since = "a", reason = "text")]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2020-12-09 17:26:42 -06:00
|
|
|
error: aborting due to 19 previous errors
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2021-02-08 11:25:05 -06:00
|
|
|
Some errors have detailed explanations: E0539, E0541, E0542, E0546, E0547, E0550.
|
2020-05-02 13:14:08 -05:00
|
|
|
For more information about an error, try `rustc --explain E0539`.
|