summary refs log tree commit diff
path: root/src/test/ui/macros/unknown-builtin.stderr
blob: 7b04e05293ea1f12ef8ed6c12dd06dcd4318488c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 {
LL | |         () => {
LL | |             /* compiler built-in */
LL | |         };
LL | |     }
   | |_____^
   |
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`.