fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
847 B25 linesraw
1error[E0428]: the name `foo` is defined multiple times
2  --> $DIR/issue-38715.rs:5:1
3   |
4LL | macro_rules! foo { () => {} }
5   | ---------------- previous definition of the macro `foo` here
6...
7LL | macro_rules! foo { () => {} }
8   | ^^^^^^^^^^^^^^^^ `foo` redefined here
9   |
10   = note: `foo` must be defined only once in the macro namespace of this module
11
12error[E0428]: the name `bar` is defined multiple times
13  --> $DIR/issue-38715.rs:14:5
14   |
15LL |     macro_rules! bar { () => {} }
16   |     ---------------- previous definition of the macro `bar` here
17...
18LL |     macro_rules! bar { () => {} }
19   |     ^^^^^^^^^^^^^^^^ `bar` redefined here
20   |
21   = note: `bar` must be defined only once in the macro namespace of this module
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0428`.