fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
678 B22 linesraw
1error: 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
7error: cannot determine resolution for the macro `foo`
8  --> $DIR/reserved-attr-on-macro.rs:10:5
9   |
10LL |     foo!();
11   |     ^^^
12   |
13   = note: import resolution is stuck, try simplifying macro imports
14
15error: cannot find attribute `rustc_attribute_should_be_reserved` in this scope
16  --> $DIR/reserved-attr-on-macro.rs:1:3
17   |
18LL | #[rustc_attribute_should_be_reserved]
19   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20
21error: aborting due to 3 previous errors
22