1
1
warning: duplicate matcher binding
2
- --> $DIR/macro-multiple-matcher-bindings.rs:11 :6
2
+ --> $DIR/macro-multiple-matcher-bindings.rs:12 :6
3
3
|
4
4
LL | ($a:ident, $a:ident) => {};
5
5
| ^^^^^^^^ ^^^^^^^^
6
6
|
7
- = note: #[warn(duplicate_matcher_binding_name)] on by default
7
+ note: lint level defined here
8
+ --> $DIR/macro-multiple-matcher-bindings.rs:9:9
9
+ |
10
+ LL | #![warn(duplicate_matcher_binding_name)]
11
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8
12
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9
13
= note: for more information, see issue #57593 <https://github.com/rust-lang/rust/issues/57593>
10
14
11
15
warning: duplicate matcher binding
12
- --> $DIR/macro-multiple-matcher-bindings.rs:12 :6
16
+ --> $DIR/macro-multiple-matcher-bindings.rs:13 :6
13
17
|
14
18
LL | ($a:ident, $a:path) => {};
15
19
| ^^^^^^^^ ^^^^^^^
@@ -18,7 +22,7 @@ LL | ($a:ident, $a:path) => {};
18
22
= note: for more information, see issue #57593 <https://github.com/rust-lang/rust/issues/57593>
19
23
20
24
warning: duplicate matcher binding
21
- --> $DIR/macro-multiple-matcher-bindings.rs:21 :6
25
+ --> $DIR/macro-multiple-matcher-bindings.rs:22 :6
22
26
|
23
27
LL | ($a:ident, $($a:ident),*) => {};
24
28
| ^^^^^^^^ ^^^^^^^^
@@ -27,7 +31,7 @@ LL | ($a:ident, $($a:ident),*) => {};
27
31
= note: for more information, see issue #57593 <https://github.com/rust-lang/rust/issues/57593>
28
32
29
33
warning: duplicate matcher binding
30
- --> $DIR/macro-multiple-matcher-bindings.rs:22 :8
34
+ --> $DIR/macro-multiple-matcher-bindings.rs:23 :8
31
35
|
32
36
LL | ($($a:ident)+ # $($($a:path),+);*) => {};
33
37
| ^^^^^^^^ ^^^^^^^
0 commit comments