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 = 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: `(_, B)`, `(_, C)`, `(_, D)` and 2 more not covered
15 --> $DIR/issue-35609.rs:14:11
18 | ^^^^^^ patterns `(_, B)`, `(_, C)`, `(_, 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: `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
28 --> $DIR/issue-35609.rs:18:11
30 LL | match ((A, ()), ()) {
31 | ^^^^^^^^^^^^^ patterns `((B, _), _)`, `((C, _), _)`, `((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: `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
41 --> $DIR/issue-35609.rs:22:11
43 LL | match ((A, ()), A) {
44 | ^^^^^^^^^^^^ patterns `((B, _), _)`, `((C, _), _)`, `((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: `((B, _), _)`, `((C, _), _)`, `((D, _), _)` and 2 more not covered
54 --> $DIR/issue-35609.rs:26:11
56 LL | match ((A, ()), ()) {
57 | ^^^^^^^^^^^^^ patterns `((B, _), _)`, `((C, _), _)`, `((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(B, _)`, `S(C, _)`, `S(D, _)` and 2 more not covered
67 --> $DIR/issue-35609.rs:31:11
70 | ^^^^^^^^ patterns `S(B, _)`, `S(C, _)`, `S(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: B, .. }`, `Sd { x: C, .. }`, `Sd { x: D, .. }` and 2 more not covered
85 --> $DIR/issue-35609.rs:35:11
87 LL | match (Sd { x: A, y: () }) {
88 | ^^^^^^^^^^^^^^^^^^^^ patterns `Sd { x: B, .. }`, `Sd { x: C, .. }`, `Sd { x: 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(B)`, `Some(C)`, `Some(D)` and 2 more not covered
103 --> $DIR/issue-35609.rs:39:11
106 | ^^^^^^^ patterns `Some(B)`, `Some(C)`, `Some(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 LL | | #[lang = "None"]
114 LL | | #[stable(feature = "rust1", since = "1.0.0")]
116 LL | | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
119 = note: the matched value is of type `Option<Enum>`
120 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
126 error: aborting due to 8 previous errors
128 For more information about this error, try `rustc --explain E0004`.