rust/tests/ui/macros/macro-multiple-matcher-bindings.stderr

35 lines
927 B
Plaintext
Raw Normal View History

error: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:7:16
2019-01-18 03:30:06 +00:00
|
2019-03-09 12:03:44 +00:00
LL | ($a:ident, $a:ident) => {};
2019-11-25 20:34:56 +00:00
| -------- ^^^^^^^^ duplicate binding
| |
| previous binding
2019-01-15 22:55:23 +00:00
error: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:8:16
2019-01-18 03:30:06 +00:00
|
2019-03-09 12:03:44 +00:00
LL | ($a:ident, $a:path) => {};
2019-11-25 20:34:56 +00:00
| -------- ^^^^^^^ duplicate binding
| |
| previous binding
2019-01-15 22:55:23 +00:00
error: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:17:18
2019-01-15 22:55:23 +00:00
|
2019-03-09 12:03:44 +00:00
LL | ($a:ident, $($a:ident),*) => {};
2019-11-25 20:34:56 +00:00
| -------- ^^^^^^^^ duplicate binding
| |
| previous binding
2019-01-15 22:55:23 +00:00
error: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:18:25
2019-01-15 22:55:23 +00:00
|
2019-03-09 12:03:44 +00:00
LL | ($($a:ident)+ # $($($a:path),+);*) => {};
2019-11-25 20:34:56 +00:00
| -------- ^^^^^^^ duplicate binding
| |
| previous binding
error: aborting due to 4 previous errors
2019-01-15 22:55:23 +00:00