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

42 lines
1.7 KiB
Plaintext
Raw Normal View History

warning: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:12:6
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: lint level defined here
--> $DIR/macro-multiple-matcher-bindings.rs:9:9
|
LL | #![warn(duplicate_matcher_binding_name)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-01-18 03:30:06 +00: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 22:55:23 +00:00
warning: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:13:6
2019-01-18 03:30:06 +00:00
|
2019-03-09 12:03:44 +00:00
LL | ($a:ident, $a:path) => {};
2019-01-18 03:30:06 +00: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 22:55:23 +00:00
warning: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:22:6
2019-01-15 22:55:23 +00:00
|
2019-03-09 12:03:44 +00:00
LL | ($a:ident, $($a:ident),*) => {};
| ^^^^^^^^ ^^^^^^^^
2019-01-15 22:55:23 +00: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 22:55:23 +00:00
warning: duplicate matcher binding
--> $DIR/macro-multiple-matcher-bindings.rs:23:8
2019-01-15 22:55:23 +00:00
|
2019-03-09 12:03:44 +00:00
LL | ($($a:ident)+ # $($($a:path),+);*) => {};
| ^^^^^^^^ ^^^^^^^
2019-01-15 22:55:23 +00: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 22:55:23 +00:00