2020-03-24 20:41:16 +03:00
|
|
|
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
|
2019-06-30 13:00:45 +03:00
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:8:3
|
|
|
|
|
|
|
|
|
LL | #[rustc::unknown]
|
|
|
|
| ^^^^^
|
|
|
|
|
2019-07-03 12:47:24 +03:00
|
|
|
error: expected attribute, found macro `rustc::unknown`
|
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:8:3
|
2019-06-30 13:00:45 +03:00
|
|
|
|
|
|
|
|
LL | #[rustc::unknown]
|
2019-07-03 12:47:24 +03:00
|
|
|
| ^^^^^^^^^^^^^^ not an attribute
|
2019-06-30 13:00:45 +03:00
|
|
|
|
2020-03-24 20:41:16 +03:00
|
|
|
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
|
2019-06-30 13:00:45 +03:00
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:13:12
|
|
|
|
|
|
|
|
|
LL | #[unknown::rustc]
|
|
|
|
| ^^^^^
|
|
|
|
|
2019-07-03 12:47:24 +03:00
|
|
|
error: expected attribute, found macro `unknown::rustc`
|
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:13:3
|
2019-06-30 13:00:45 +03:00
|
|
|
|
|
|
|
|
LL | #[unknown::rustc]
|
2019-07-03 12:47:24 +03:00
|
|
|
| ^^^^^^^^^^^^^^ not an attribute
|
2019-06-30 13:00:45 +03:00
|
|
|
|
2020-03-24 20:41:16 +03:00
|
|
|
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
|
2019-06-30 13:00:45 +03:00
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:20:3
|
|
|
|
|
|
|
|
|
LL | #[rustc_unknown]
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
2019-09-15 12:55:18 +03:00
|
|
|
error: cannot find attribute `rustc_unknown` in this scope
|
2019-06-30 13:00:45 +03:00
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:20:3
|
|
|
|
|
|
|
|
|
LL | #[rustc_unknown]
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
2019-08-23 01:09:51 +02:00
|
|
|
error[E0658]: the `#[rustc_dummy]` attribute is just used for rustc unit tests and will never be stable
|
2019-06-30 13:00:45 +03:00
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:18:1
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2019-06-29 14:06:22 +03:00
|
|
|
LL | #[rustc_dummy]
|
|
|
|
| ^^^^^^^^^^^^^^
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2019-07-09 11:32:08 +02:00
|
|
|
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
2017-12-06 09:27:47 +01:00
|
|
|
|
2019-06-30 13:00:45 +03:00
|
|
|
error: aborting due to 7 previous errors
|
2017-12-06 09:27:47 +01:00
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0658`.
|