fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
834 B25 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   = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
8
9error: cannot determine resolution for the macro `foo`
10  --> $DIR/reserved-attr-on-macro.rs:10:5
11   |
12LL |     foo!();
13   |     ^^^
14   |
15   = note: import resolution is stuck, try simplifying macro imports
16
17error: cannot find attribute `rustc_attribute_should_be_reserved` in this scope
18  --> $DIR/reserved-attr-on-macro.rs:1:3
19   |
20LL | #[rustc_attribute_should_be_reserved]
21   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22
23error: aborting due to 3 previous errors
24
25For more information about this error, try `rustc --explain E0658`.