rust/tests/ui/macros/macro-multiple-matcher-bindings.stderr
2023-01-11 09:32:08 +00:00

35 lines
927 B
Plaintext

error: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:7:16
|
LL | ($a:ident, $a:ident) => {};
| -------- ^^^^^^^^ duplicate binding
| |
| previous binding
error: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:8:16
|
LL | ($a:ident, $a:path) => {};
| -------- ^^^^^^^ duplicate binding
| |
| previous binding
error: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:17:18
|
LL | ($a:ident, $($a:ident),*) => {};
| -------- ^^^^^^^^ duplicate binding
| |
| previous binding
error: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:18:25
|
LL | ($($a:ident)+ # $($($a:path),+);*) => {};
| -------- ^^^^^^^ duplicate binding
| |
| previous binding
error: aborting due to 4 previous errors