fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
1017 B30 linesraw
1error[E0658]: 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   |
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:7: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:4:3
18   |
19LL | #[tests]
20   |   ^^^^^ help: an attribute macro with a similar name exists: `test`
21
22error: cannot find attribute `deprcated` in this scope
23  --> $DIR/attribute-typos.rs:1:3
24   |
25LL | #[deprcated]
26   |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
27
28error: aborting due to 4 previous errors
29
30For more information about this error, try `rustc --explain E0658`.