summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/duplicate-builtin.stderr
blob: 58accea27bb960123850a2a277c3503f6501abf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0773]: attempted to define built-in macro more than once
  --> $DIR/duplicate-builtin.rs:13:5
   |
LL | /     pub macro test($item:item) {
LL | |
LL | |         /* compiler built-in */
LL | |     }
   | |_____^
   |
note: previously defined here
  --> $DIR/duplicate-builtin.rs:6:1
   |
LL | / pub macro test($item:item) {
LL | |
LL | |     /* compiler built-in */
LL | | }
   | |_^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0773`.