fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0658]: attributes starting with `rustc` are reserved for use by the `rustc` compiler 2 --> $DIR/feature-gate-rustc-attrs.rs:8:3 3 | 4LL | #[rustc::unknown] 5 | ^^^^^ 6 | 7 = note: for more information, see https://github.com/rust-lang/rust/issues/29642 8 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable 9 10error: expected attribute, found macro `rustc::unknown` 11 --> $DIR/feature-gate-rustc-attrs.rs:8:3 12 | 13LL | #[rustc::unknown] 14 | ^^^^^^^^^^^^^^ not an attribute 15 16error[E0658]: attributes starting with `rustc` are reserved for use by the `rustc` compiler 17 --> $DIR/feature-gate-rustc-attrs.rs:13:12 18 | 19LL | #[unknown::rustc] 20 | ^^^^^ 21 | 22 = note: for more information, see https://github.com/rust-lang/rust/issues/29642 23 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable 24 25error: expected attribute, found macro `unknown::rustc` 26 --> $DIR/feature-gate-rustc-attrs.rs:13:3 27 | 28LL | #[unknown::rustc] 29 | ^^^^^^^^^^^^^^ not an attribute 30 31error[E0658]: attributes starting with `rustc` are reserved for use by the `rustc` compiler 32 --> $DIR/feature-gate-rustc-attrs.rs:20:3 33 | 34LL | #[rustc_unknown] 35 | ^^^^^^^^^^^^^ 36 | 37 = note: for more information, see https://github.com/rust-lang/rust/issues/29642 38 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable 39 40error: cannot find attribute `rustc_unknown` in this scope 41 --> $DIR/feature-gate-rustc-attrs.rs:20:3 42 | 43LL | #[rustc_unknown] 44 | ^^^^^^^^^^^^^ 45 46error[E0658]: the `#[rustc_dummy]` attribute is just used for rustc unit tests and will never be stable 47 --> $DIR/feature-gate-rustc-attrs.rs:18:1 48 | 49LL | #[rustc_dummy] 50 | ^^^^^^^^^^^^^^ 51 | 52 = note: for more information, see https://github.com/rust-lang/rust/issues/29642 53 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable 54 55error: aborting due to 7 previous errors 56 57For more information about this error, try `rustc --explain E0658`.