1 error[E0004]: non-exhaustive patterns: `(B, _)`, `(C, _)`, `(D, _)` and 2 more not covered
2 --> $DIR/issue-35609.rs:10:11
5 | ^^^^^^^ patterns `(B, _)`, `(C, _)`, `(D, _)` and 2 more not covered
7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8 = note: the matched value is of type `(Enum, ())`
10 error[E0004]: non-exhaustive patterns: `(_, B)`, `(_, C)`, `(_, D)` and 2 more not covered
11 --> $DIR/issue-35609.rs:14:11
14 | ^^^^^^ patterns `(_, B)`, `(_, C)`, `(_, D)` and 2 more not covered
16 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
17 = note: the matched value is of type `(Enum, Enum)`
19 error[E0004]: non-exhaustive patterns: `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
20 --> $DIR/issue-35609.rs:18:11
22 LL | match ((A, ()), ()) {
23 | ^^^^^^^^^^^^^ patterns `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
25 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
26 = note: the matched value is of type `((Enum, ()), ())`
28 error[E0004]: non-exhaustive patterns: `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
29 --> $DIR/issue-35609.rs:22:11
31 LL | match ((A, ()), A) {
32 | ^^^^^^^^^^^^ patterns `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
34 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
35 = note: the matched value is of type `((Enum, ()), Enum)`
37 error[E0004]: non-exhaustive patterns: `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
38 --> $DIR/issue-35609.rs:26:11
40 LL | match ((A, ()), ()) {
41 | ^^^^^^^^^^^^^ patterns `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
43 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
44 = note: the matched value is of type `((Enum, ()), ())`
46 error[E0004]: non-exhaustive patterns: `S(B, _)`, `S(C, _)`, `S(D, _)` and 2 more not covered
47 --> $DIR/issue-35609.rs:31:11
49 LL | struct S(Enum, ());
50 | ------------------- `S` defined here
53 | ^^^^^^^^ patterns `S(B, _)`, `S(C, _)`, `S(D, _)` and 2 more not covered
55 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
56 = note: the matched value is of type `S`
58 error[E0004]: non-exhaustive patterns: `Sd { x: B, .. }`, `Sd { x: C, .. }`, `Sd { x: D, .. }` and 2 more not covered
59 --> $DIR/issue-35609.rs:35:11
61 LL | struct Sd { x: Enum, y: () }
62 | ---------------------------- `Sd` defined here
64 LL | match (Sd { x: A, y: () }) {
65 | ^^^^^^^^^^^^^^^^^^^^ patterns `Sd { x: B, .. }`, `Sd { x: C, .. }`, `Sd { x: D, .. }` and 2 more not covered
67 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
68 = note: the matched value is of type `Sd`
70 error[E0004]: non-exhaustive patterns: `Some(B)`, `Some(C)`, `Some(D)` and 2 more not covered
71 --> $DIR/issue-35609.rs:39:11
74 | ^^^^^^^ patterns `Some(B)`, `Some(C)`, `Some(D)` and 2 more not covered
76 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
77 = note: the matched value is of type `std::option::Option<Enum>`
79 error: aborting due to 8 previous errors
81 For more information about this error, try `rustc --explain E0004`.