fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0658]: attributes starting with `rustc` are reserved for use by the `rustc` compiler 2 --> $DIR/attribute-typos.rs:11:3 3 | 4LL | #[rustc_err] 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: cannot find attribute `rustc_err` in this scope 11 --> $DIR/attribute-typos.rs:11:3 12 | 13LL | #[rustc_err] 14 | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error` 15 16error: cannot find attribute `tests` in this scope 17 --> $DIR/attribute-typos.rs:8:3 18 | 19LL | #[tests] 20 | ^^^^^ help: an attribute macro with a similar name exists: `test` 21 | 22 ::: $SRC_DIR/libcore/macros/mod.rs:LL:COL 23 | 24LL | pub macro test($item:item) { 25 | -------------------------- similarly named attribute macro `test` defined here 26 27error: cannot find attribute `deprcated` in this scope 28 --> $DIR/attribute-typos.rs:5:3 29 | 30LL | #[deprcated] 31 | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated` 32 33error: aborting due to 4 previous errors 34 35For more information about this error, try `rustc --explain E0658`.