]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/duplicate-builtin.stderr
Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnr
[rust.git] / tests / ui / macros / duplicate-builtin.stderr
1 error[E0773]: attempted to define built-in macro more than once
2   --> $DIR/duplicate-builtin.rs:13:5
3    |
4 LL | /     pub macro test($item:item) {
5 LL | |
6 LL | |         /* compiler built-in */
7 LL | |     }
8    | |_____^
9    |
10 note: previously defined here
11   --> $DIR/duplicate-builtin.rs:6:1
12    |
13 LL | / pub macro test($item:item) {
14 LL | |
15 LL | |     /* compiler built-in */
16 LL | | }
17    | |_^
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0773`.