]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-38715.stderr
Rollup merge of #107127 - uweigand:s390x-sanitizer, r=Mark-Simulacrum
[rust.git] / tests / ui / macros / issue-38715.stderr
1 error[E0428]: the name `foo` is defined multiple times
2   --> $DIR/issue-38715.rs:5:1
3    |
4 LL | macro_rules! foo { () => {} }
5    | ---------------- previous definition of the macro `foo` here
6 ...
7 LL | macro_rules! foo { () => {} }
8    | ^^^^^^^^^^^^^^^^ `foo` redefined here
9    |
10    = note: `foo` must be defined only once in the macro namespace of this module
11
12 error[E0428]: the name `bar` is defined multiple times
13   --> $DIR/issue-38715.rs:14:5
14    |
15 LL |     macro_rules! bar { () => {} }
16    |     ---------------- previous definition of the macro `bar` here
17 ...
18 LL |     macro_rules! bar { () => {} }
19    |     ^^^^^^^^^^^^^^^^ `bar` redefined here
20    |
21    = note: `bar` must be defined only once in the macro namespace of this module
22
23 error: aborting due to 2 previous errors
24
25 For more information about this error, try `rustc --explain E0428`.