rust/src/test/ui/macros/macro-multiple-matcher-bindings.stderr

51 lines
1.3 KiB
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-01-18 03:30:06 +00:00
|
note: previous declaration was here
--> $DIR/macro-multiple-matcher-bindings.rs:7:6
|
LL | ($a:ident, $a:ident) => {};
| ^^^^^^^^
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) => {};
| ^^^^^^^
|
note: previous declaration was here
--> $DIR/macro-multiple-matcher-bindings.rs:8:6
2019-01-18 03:30:06 +00:00
|
LL | ($a:ident, $a:path) => {};
| ^^^^^^^^
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),*) => {};
| ^^^^^^^^
|
note: previous declaration was here
--> $DIR/macro-multiple-matcher-bindings.rs:17:6
2019-01-15 22:55:23 +00:00
|
LL | ($a:ident, $($a:ident),*) => {};
| ^^^^^^^^
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),+);*) => {};
| ^^^^^^^
|
note: previous declaration was here
--> $DIR/macro-multiple-matcher-bindings.rs:18:8
2019-01-15 22:55:23 +00:00
|
LL | ($($a:ident)+ # $($($a:path),+);*) => {};
| ^^^^^^^^
error: aborting due to 4 previous errors
2019-01-15 22:55:23 +00:00