fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
958 B31 linesraw
1error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2  --> $DIR/attribute-typos.rs:7:3
3   |
4LL | #[rustc_err]
5   |   ^^^^^^^^^
6
7error: cannot find attribute `rustc_err` in this scope
8  --> $DIR/attribute-typos.rs:7:3
9   |
10LL | #[rustc_err]
11   |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
12
13error: cannot find attribute `tests` in this scope
14  --> $DIR/attribute-typos.rs:4:3
15   |
16LL | #[tests]
17   |   ^^^^^ help: an attribute macro with a similar name exists: `test`
18   | 
19  ::: $SRC_DIR/libcore/macros/mod.rs:LL:COL
20   |
21LL |     pub macro test($item:item) {
22   |     -------------------------- similarly named attribute macro `test` defined here
23
24error: cannot find attribute `deprcated` in this scope
25  --> $DIR/attribute-typos.rs:1:3
26   |
27LL | #[deprcated]
28   |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
29
30error: aborting due to 4 previous errors
31