fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
918 B26 linesraw
1error[E0658]: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2  --> $DIR/reserved-attr-on-macro.rs:1:3
3   |
4LL | #[rustc_attribute_should_be_reserved]
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 determine resolution for the macro `foo`
11  --> $DIR/reserved-attr-on-macro.rs:10:5
12   |
13LL |     foo!();
14   |     ^^^
15   |
16   = note: import resolution is stuck, try simplifying macro imports
17
18error: cannot find attribute `rustc_attribute_should_be_reserved` in this scope
19  --> $DIR/reserved-attr-on-macro.rs:1:3
20   |
21LL | #[rustc_attribute_should_be_reserved]
22   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
23
24error: aborting due to 3 previous errors
25
26For more information about this error, try `rustc --explain E0658`.