fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
1.1 KiB34 linesraw
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   = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
8
9error: cannot find attribute `rustc_err` in this scope
10  --> $DIR/attribute-typos.rs:11:3
11   |
12LL | #[rustc_err]
13   |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
14
15error: cannot find attribute `tests` in this scope
16  --> $DIR/attribute-typos.rs:8:3
17   |
18LL | #[tests]
19   |   ^^^^^ help: an attribute macro with a similar name exists: `test`
20   | 
21  ::: $SRC_DIR/libcore/macros/mod.rs:LL:COL
22   |
23LL |     pub macro test($item:item) {
24   |     -------------------------- similarly named attribute macro `test` defined here
25
26error: cannot find attribute `deprcated` in this scope
27  --> $DIR/attribute-typos.rs:5:3
28   |
29LL | #[deprcated]
30   |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
31
32error: aborting due to 4 previous errors
33
34For more information about this error, try `rustc --explain E0658`.