1 error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2 --> $DIR/feature-gate-rustc-attrs.rs:8:3
7 error: expected attribute, found macro `rustc::unknown`
8 --> $DIR/feature-gate-rustc-attrs.rs:8:3
10 LL | #[rustc::unknown]
11 | ^^^^^^^^^^^^^^ not an attribute
13 error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
14 --> $DIR/feature-gate-rustc-attrs.rs:13:12
16 LL | #[unknown::rustc]
19 error: expected attribute, found macro `unknown::rustc`
20 --> $DIR/feature-gate-rustc-attrs.rs:13:3
22 LL | #[unknown::rustc]
23 | ^^^^^^^^^^^^^^ not an attribute
25 error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
26 --> $DIR/feature-gate-rustc-attrs.rs:20:3
31 error: cannot find attribute `rustc_unknown` in this scope
32 --> $DIR/feature-gate-rustc-attrs.rs:20:3
37 error[E0658]: the `#[rustc_dummy]` attribute is just used for rustc unit tests and will never be stable
38 --> $DIR/feature-gate-rustc-attrs.rs:18:1
43 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
45 error: aborting due to 7 previous errors
47 For more information about this error, try `rustc --explain E0658`.