fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
1.6 KiB48 linesraw
1error[E0658]: procedural macros cannot expand to macro definitions
2  --> $DIR/more-gates.rs:9:1
3   |
4LL | #[attr2mac1]
5   | ^^^^^^^^^^^^
6   |
7   = note: for more information, see https://github.com/rust-lang/rust/issues/54727
8   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
9
10error[E0658]: procedural macros cannot expand to macro definitions
11  --> $DIR/more-gates.rs:12:1
12   |
13LL | #[attr2mac2]
14   | ^^^^^^^^^^^^
15   |
16   = note: for more information, see https://github.com/rust-lang/rust/issues/54727
17   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
18
19error[E0658]: procedural macros cannot expand to macro definitions
20  --> $DIR/more-gates.rs:16:1
21   |
22LL | mac2mac1!();
23   | ^^^^^^^^^^^^
24   |
25   = note: for more information, see https://github.com/rust-lang/rust/issues/54727
26   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
27
28error[E0658]: procedural macros cannot expand to macro definitions
29  --> $DIR/more-gates.rs:17:1
30   |
31LL | mac2mac2!();
32   | ^^^^^^^^^^^^
33   |
34   = note: for more information, see https://github.com/rust-lang/rust/issues/54727
35   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
36
37error[E0658]: procedural macros cannot expand to macro definitions
38  --> $DIR/more-gates.rs:19:1
39   |
40LL | tricky!();
41   | ^^^^^^^^^^
42   |
43   = note: for more information, see https://github.com/rust-lang/rust/issues/54727
44   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
45
46error: aborting due to 5 previous errors
47
48For more information about this error, try `rustc --explain E0658`.