]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/macro-multiple-matcher-bindings.stderr
Rollup merge of #105796 - notriddle:notriddle/rustdoc-search-stop-doing-demerits...
[rust.git] / tests / ui / macros / macro-multiple-matcher-bindings.stderr
1 error: duplicate matcher binding
2   --> $DIR/macro-multiple-matcher-bindings.rs:7:16
3    |
4 LL |     ($a:ident, $a:ident) => {};
5    |      --------  ^^^^^^^^ duplicate binding
6    |      |
7    |      previous binding
8
9 error: duplicate matcher binding
10   --> $DIR/macro-multiple-matcher-bindings.rs:8:16
11    |
12 LL |     ($a:ident, $a:path) => {};
13    |      --------  ^^^^^^^ duplicate binding
14    |      |
15    |      previous binding
16
17 error: duplicate matcher binding
18   --> $DIR/macro-multiple-matcher-bindings.rs:17:18
19    |
20 LL |     ($a:ident, $($a:ident),*) => {};
21    |      --------    ^^^^^^^^ duplicate binding
22    |      |
23    |      previous binding
24
25 error: duplicate matcher binding
26   --> $DIR/macro-multiple-matcher-bindings.rs:18:25
27    |
28 LL |     ($($a:ident)+ # $($($a:path),+);*) => {};
29    |        --------         ^^^^^^^ duplicate binding
30    |        |
31    |        previous binding
32
33 error: aborting due to 4 previous errors
34