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