2019-01-17 21:19:56 -06:00
|
|
|
warning: duplicate matcher binding
|
2019-01-17 21:30:06 -06:00
|
|
|
--> $DIR/macro-multiple-matcher-bindings.rs:11:6
|
|
|
|
|
|
|
|
|
LL | ($a:ident, $a:ident) => {}; //~WARNING duplicate matcher binding
|
|
|
|
| ^^^^^^^^ ^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: #[warn(duplicate_matcher_binding_name)] on by default
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #57593 <https://github.com/rust-lang/rust/issues/57593>
|
2019-01-15 16:55:23 -06:00
|
|
|
|
2019-01-17 21:19:56 -06:00
|
|
|
warning: duplicate matcher binding
|
2019-01-17 21:30:06 -06:00
|
|
|
--> $DIR/macro-multiple-matcher-bindings.rs:12:6
|
|
|
|
|
|
|
|
|
LL | ($a:ident, $a:path) => {}; //~WARNING duplicate matcher binding
|
|
|
|
| ^^^^^^^^ ^^^^^^^
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #57593 <https://github.com/rust-lang/rust/issues/57593>
|
2019-01-15 16:55:23 -06:00
|
|
|
|
2019-01-17 21:19:56 -06:00
|
|
|
warning: duplicate matcher binding
|
2019-01-17 21:30:06 -06:00
|
|
|
--> $DIR/macro-multiple-matcher-bindings.rs:21:6
|
2019-01-15 16:55:23 -06:00
|
|
|
|
|
2019-01-17 21:30:06 -06:00
|
|
|
LL | ($a:ident, $($a:ident),*) => {}; //~WARNING duplicate matcher binding
|
2019-01-17 21:19:56 -06:00
|
|
|
| ^^^^^^^^ ^^^^^^^^
|
2019-01-15 16:55:23 -06:00
|
|
|
|
|
2019-01-17 21:19:56 -06:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #57593 <https://github.com/rust-lang/rust/issues/57593>
|
2019-01-15 16:55:23 -06:00
|
|
|
|
2019-01-17 21:19:56 -06:00
|
|
|
warning: duplicate matcher binding
|
2019-01-17 21:30:06 -06:00
|
|
|
--> $DIR/macro-multiple-matcher-bindings.rs:22:8
|
2019-01-15 16:55:23 -06:00
|
|
|
|
|
2019-01-17 21:30:06 -06:00
|
|
|
LL | ($($a:ident)+ # $($($a:path),+);*) => {}; //~WARNING duplicate matcher binding
|
2019-01-17 21:19:56 -06:00
|
|
|
| ^^^^^^^^ ^^^^^^^
|
2019-01-15 16:55:23 -06:00
|
|
|
|
|
2019-01-17 21:19:56 -06:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #57593 <https://github.com/rust-lang/rust/issues/57593>
|
2019-01-15 16:55:23 -06:00
|
|
|
|