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
|
|
|
|
|
|
|
|
LL | #[stable(feature = "a", since = "b", reason)] //~ ERROR unknown meta item 'reason' [E0541]
|
|
|
|
| ^^^^^^ 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
|
|
|
|
|
|
|
|
LL | #[stable(feature = "a", since)] //~ ERROR incorrect meta item [E0539]
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
LL | #[stable(feature, since = "a")] //~ ERROR incorrect meta item [E0539]
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
LL | #[stable(feature = "a", since(b))] //~ ERROR incorrect meta item [E0539]
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
LL | #[stable(feature(b), since = "a")] //~ ERROR incorrect meta item [E0539]
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0548]: incorrect stability attribute type
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:25:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[unstable] //~ ERROR incorrect stability attribute type [E0548]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0548]: incorrect stability attribute type
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:28:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[unstable = "b"] //~ ERROR incorrect stability attribute type [E0548]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0548]: incorrect stability attribute type
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:31:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[stable] //~ ERROR incorrect stability attribute type [E0548]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0548]: incorrect stability attribute type
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:34:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[stable = "a"] //~ ERROR incorrect stability attribute type [E0548]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0548]: incorrect stability attribute type
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:38:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[rustc_deprecated] //~ ERROR incorrect stability attribute type [E0548]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0548]: incorrect stability attribute type
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:42:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[rustc_deprecated = "a"] //~ ERROR incorrect stability attribute type [E0548]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0546]: missing 'feature'
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:47:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[unstable(issue = "0")] //~ ERROR missing 'feature' [E0546]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0547]: missing 'issue'
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:50:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[unstable(feature = "b")] //~ ERROR missing 'issue' [E0547]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0546]: missing 'feature'
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:53:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[stable(since = "a")] //~ ERROR missing 'feature' [E0546]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0542]: missing 'since'
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:58:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[stable(feature = "a")] //~ ERROR missing 'since' [E0542]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0542]: missing 'since'
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:62:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[rustc_deprecated(reason = "a")] //~ ERROR missing 'since' [E0542]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0544]: multiple stability levels
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:67:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[stable(feature = "a", since = "b")] //~ ERROR multiple stability levels [E0544]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0544]: multiple stability levels
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:71:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[unstable(feature = "b", issue = "0")] //~ ERROR multiple stability levels [E0544]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0544]: multiple stability levels
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:75:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[stable(feature = "a", since = "b")] //~ ERROR multiple stability levels [E0544]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0540]: multiple rustc_deprecated attributes
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:83:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | pub const fn multiple4() { } //~ ERROR multiple rustc_deprecated attributes [E0540]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0553]: multiple rustc_const_unstable attributes
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:83:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | pub const fn multiple4() { } //~ ERROR multiple rustc_deprecated attributes [E0540]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Invalid stability or deprecation version found
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:83:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | pub const fn multiple4() { } //~ ERROR multiple rustc_deprecated attributes [E0540]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0549]: rustc_deprecated attribute must be paired with either stable or unstable attribute
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/stability-attribute-sanity.rs:88:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | fn deprecated_without_unstable_or_stable() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 23 previous errors
|
|
|
|
|
|
|
|
Some errors occurred: E0539, E0540, E0541, E0542, E0544, E0546, E0547, E0548, E0549...
|
|
|
|
For more information about an error, try `rustc --explain E0539`.
|