]> git.proxmox.com Git - rustc.git/blob - tests/ui/reserved/reserved-attr-on-macro.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / reserved / reserved-attr-on-macro.stderr
1 error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2 --> $DIR/reserved-attr-on-macro.rs:1:3
3 |
4 LL | #[rustc_attribute_should_be_reserved]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: cannot determine resolution for the macro `foo`
8 --> $DIR/reserved-attr-on-macro.rs:10:5
9 |
10 LL | foo!();
11 | ^^^
12 |
13 = note: import resolution is stuck, try simplifying macro imports
14
15 error: cannot find attribute `rustc_attribute_should_be_reserved` in this scope
16 --> $DIR/reserved-attr-on-macro.rs:1:3
17 |
18 LL | #[rustc_attribute_should_be_reserved]
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20
21 error: aborting due to 3 previous errors
22