summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/unknown-builtin.stderr
blob: 22f54e04e54c3dc118db8bef42677a0309d58d2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: cannot find a built-in macro with name `unknown`
  --> $DIR/unknown-builtin.rs:6:1
   |
LL | macro_rules! unknown { () => () }
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0773]: attempted to define built-in macro more than once
  --> $SRC_DIR/core/src/macros/mod.rs:LL:COL
   |
note: previously defined here
  --> $DIR/unknown-builtin.rs:9:1
   |
LL | macro_rules! line { () => () }
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

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