mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
35 lines
927 B
Plaintext
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
|
|
|