1 error[E0004]: non-exhaustive patterns: `(Enum::B, _)`, `(Enum::C, _)`, `(Enum::D, _)` and 2 more not covered
2 --> $DIR/issue-35609.rs:10:11
5 | ^^^^^^^ patterns `(Enum::B, _)`, `(Enum::C, _)`, `(Enum::D, _)` and 2 more not covered
7 = note: the matched value is of type `(Enum, ())`
8 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
14 error[E0004]: non-exhaustive patterns: `(_, Enum::B)`, `(_, Enum::C)`, `(_, Enum::D)` and 2 more not covered
15 --> $DIR/issue-35609.rs:14:11
18 | ^^^^^^ patterns `(_, Enum::B)`, `(_, Enum::C)`, `(_, Enum::D)` and 2 more not covered
20 = note: the matched value is of type `(Enum, Enum)`
21 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
27 error[E0004]: non-exhaustive patterns: `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered
28 --> $DIR/issue-35609.rs:18:11
30 LL | match ((A, ()), ()) {
31 | ^^^^^^^^^^^^^ patterns `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered
33 = note: the matched value is of type `((Enum, ()), ())`
34 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
36 LL ~ ((A, ()), _) => {}
40 error[E0004]: non-exhaustive patterns: `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered
41 --> $DIR/issue-35609.rs:22:11
43 LL | match ((A, ()), A) {
44 | ^^^^^^^^^^^^ patterns `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered
46 = note: the matched value is of type `((Enum, ()), Enum)`
47 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
49 LL ~ ((A, ()), _) => {}
53 error[E0004]: non-exhaustive patterns: `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered
54 --> $DIR/issue-35609.rs:26:11
56 LL | match ((A, ()), ()) {
57 | ^^^^^^^^^^^^^ patterns `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered
59 = note: the matched value is of type `((Enum, ()), ())`
60 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
62 LL ~ ((A, _), _) => {}
66 error[E0004]: non-exhaustive patterns: `S(Enum::B, _)`, `S(Enum::C, _)`, `S(Enum::D, _)` and 2 more not covered
67 --> $DIR/issue-35609.rs:31:11
70 | ^^^^^^^^ patterns `S(Enum::B, _)`, `S(Enum::C, _)`, `S(Enum::D, _)` and 2 more not covered
72 note: `S` defined here
73 --> $DIR/issue-35609.rs:6:8
75 LL | struct S(Enum, ());
77 = note: the matched value is of type `S`
78 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
84 error[E0004]: non-exhaustive patterns: `Sd { x: Enum::B, .. }`, `Sd { x: Enum::C, .. }`, `Sd { x: Enum::D, .. }` and 2 more not covered
85 --> $DIR/issue-35609.rs:35:11
87 LL | match (Sd { x: A, y: () }) {
88 | ^^^^^^^^^^^^^^^^^^^^ patterns `Sd { x: Enum::B, .. }`, `Sd { x: Enum::C, .. }`, `Sd { x: Enum::D, .. }` and 2 more not covered
90 note: `Sd` defined here
91 --> $DIR/issue-35609.rs:7:8
93 LL | struct Sd { x: Enum, y: () }
95 = note: the matched value is of type `Sd`
96 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
98 LL ~ Sd { x: A, y: _ } => {}
102 error[E0004]: non-exhaustive patterns: `Some(Enum::B)`, `Some(Enum::C)`, `Some(Enum::D)` and 2 more not covered
103 --> $DIR/issue-35609.rs:39:11
106 | ^^^^^^^ patterns `Some(Enum::B)`, `Some(Enum::C)`, `Some(Enum::D)` and 2 more not covered
108 note: `Option<Enum>` defined here
109 --> $SRC_DIR/core/src/option.rs:LL:COL
111 LL | pub enum Option<T> {
113 = note: the matched value is of type `Option<Enum>`
114 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
120 error: aborting due to 8 previous errors
122 For more information about this error, try `rustc --explain E0004`.