@@ -2,49 +2,33 @@ error: duplicate matcher binding
2
2
--> $DIR/macro-multiple-matcher-bindings.rs:7:16
3
3
|
4
4
LL | ($a:ident, $a:ident) => {};
5
- | ^^^^^^^^
6
- |
7
- note: previous declaration was here
8
- --> $DIR/macro-multiple-matcher-bindings.rs:7:6
9
- |
10
- LL | ($a:ident, $a:ident) => {};
11
- | ^^^^^^^^
5
+ | -------- ^^^^^^^^ duplicate binding
6
+ | |
7
+ | previous binding
12
8
13
9
error: duplicate matcher binding
14
10
--> $DIR/macro-multiple-matcher-bindings.rs:8:16
15
11
|
16
12
LL | ($a:ident, $a:path) => {};
17
- | ^^^^^^^
18
- |
19
- note: previous declaration was here
20
- --> $DIR/macro-multiple-matcher-bindings.rs:8:6
21
- |
22
- LL | ($a:ident, $a:path) => {};
23
- | ^^^^^^^^
13
+ | -------- ^^^^^^^ duplicate binding
14
+ | |
15
+ | previous binding
24
16
25
17
error: duplicate matcher binding
26
18
--> $DIR/macro-multiple-matcher-bindings.rs:17:18
27
19
|
28
20
LL | ($a:ident, $($a:ident),*) => {};
29
- | ^^^^^^^^
30
- |
31
- note: previous declaration was here
32
- --> $DIR/macro-multiple-matcher-bindings.rs:17:6
33
- |
34
- LL | ($a:ident, $($a:ident),*) => {};
35
- | ^^^^^^^^
21
+ | -------- ^^^^^^^^ duplicate binding
22
+ | |
23
+ | previous binding
36
24
37
25
error: duplicate matcher binding
38
26
--> $DIR/macro-multiple-matcher-bindings.rs:18:25
39
27
|
40
28
LL | ($($a:ident)+ # $($($a:path),+);*) => {};
41
- | ^^^^^^^
42
- |
43
- note: previous declaration was here
44
- --> $DIR/macro-multiple-matcher-bindings.rs:18:8
45
- |
46
- LL | ($($a:ident)+ # $($($a:path),+);*) => {};
47
- | ^^^^^^^^
29
+ | -------- ^^^^^^^ duplicate binding
30
+ | |
31
+ | previous binding
48
32
49
33
error: aborting due to 4 previous errors
50
34
0 commit comments