summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/unknown-builtin.stderr
blob: 8f9dba16578eb9b4ad184f86c3f6b4f575c7359c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
   |
LL |     macro_rules! line {
   |     ^^^^^^^^^^^^^^^^^
   |
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`.