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