]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/unknown-builtin.stderr
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[rust.git] / src / test / ui / macros / unknown-builtin.stderr
1 error: cannot find a built-in macro with name `unknown`
2   --> $DIR/unknown-builtin.rs:6:1
3    |
4 LL | macro_rules! unknown { () => () }
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0773]: attempted to define built-in macro more than once
8   --> $SRC_DIR/core/src/macros/mod.rs:LL:COL
9    |
10 LL | /     macro_rules! line {
11 LL | |         () => {
12 LL | |             /* compiler built-in */
13 LL | |         };
14 LL | |     }
15    | |_____^
16    |
17 note: previously defined here
18   --> $DIR/unknown-builtin.rs:9:1
19    |
20 LL | macro_rules! line { () => () }
21    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22
23 error: aborting due to 2 previous errors
24
25 For more information about this error, try `rustc --explain E0773`.