fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0004]: non-exhaustive patterns: `(Enum::B, _)`, `(Enum::C, _)`, `(Enum::D, _)` and 2 more not covered 2 --> $DIR/issue-35609.rs:10:11 3 | 4LL | match (A, ()) { 5 | ^^^^^^^ patterns `(Enum::B, _)`, `(Enum::C, _)`, `(Enum::D, _)` and 2 more not covered 6 | 7 = note: the matched value is of type `(Enum, ())` 8help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms 9 | 10LL ~ (A, _) => {}, 11LL + _ => todo!() 12 | 13 14error[E0004]: non-exhaustive patterns: `(_, Enum::B)`, `(_, Enum::C)`, `(_, Enum::D)` and 2 more not covered 15 --> $DIR/issue-35609.rs:14:11 16 | 17LL | match (A, A) { 18 | ^^^^^^ patterns `(_, Enum::B)`, `(_, Enum::C)`, `(_, Enum::D)` and 2 more not covered 19 | 20 = note: the matched value is of type `(Enum, Enum)` 21help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms 22 | 23LL ~ (_, A) => {}, 24LL + _ => todo!() 25 | 26 27error[E0004]: non-exhaustive patterns: `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered 28 --> $DIR/issue-35609.rs:18:11 29 | 30LL | match ((A, ()), ()) { 31 | ^^^^^^^^^^^^^ patterns `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered 32 | 33 = note: the matched value is of type `((Enum, ()), ())` 34help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms 35 | 36LL ~ ((A, ()), _) => {}, 37LL + _ => todo!() 38 | 39 40error[E0004]: non-exhaustive patterns: `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered 41 --> $DIR/issue-35609.rs:22:11 42 | 43LL | match ((A, ()), A) { 44 | ^^^^^^^^^^^^ patterns `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered 45 | 46 = note: the matched value is of type `((Enum, ()), Enum)` 47help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms 48 | 49LL ~ ((A, ()), _) => {}, 50LL + _ => todo!() 51 | 52 53error[E0004]: non-exhaustive patterns: `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered 54 --> $DIR/issue-35609.rs:26:11 55 | 56LL | match ((A, ()), ()) { 57 | ^^^^^^^^^^^^^ patterns `((Enum::B, _), _)`, `((Enum::C, _), _)`, `((Enum::D, _), _)` and 2 more not covered 58 | 59 = note: the matched value is of type `((Enum, ()), ())` 60help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms 61 | 62LL ~ ((A, _), _) => {}, 63LL + _ => todo!() 64 | 65 66error[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 68 | 69LL | match S(A, ()) { 70 | ^^^^^^^^ patterns `S(Enum::B, _)`, `S(Enum::C, _)`, `S(Enum::D, _)` and 2 more not covered 71 | 72note: `S` defined here 73 --> $DIR/issue-35609.rs:6:8 74 | 75LL | struct S(Enum, ()); 76 | ^ 77 = note: the matched value is of type `S` 78help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms 79 | 80LL ~ S(A, _) => {}, 81LL + _ => todo!() 82 | 83 84error[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 86 | 87LL | match (Sd { x: A, y: () }) { 88 | ^^^^^^^^^^^^^^^^^^^^ patterns `Sd { x: Enum::B, .. }`, `Sd { x: Enum::C, .. }`, `Sd { x: Enum::D, .. }` and 2 more not covered 89 | 90note: `Sd` defined here 91 --> $DIR/issue-35609.rs:7:8 92 | 93LL | struct Sd { x: Enum, y: () } 94 | ^^ 95 = note: the matched value is of type `Sd` 96help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms 97 | 98LL ~ Sd { x: A, y: _ } => {}, 99LL + _ => todo!() 100 | 101 102error[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 104 | 105LL | match Some(A) { 106 | ^^^^^^^ patterns `Some(Enum::B)`, `Some(Enum::C)`, `Some(Enum::D)` and 2 more not covered 107 | 108note: `Option<Enum>` defined here 109 --> $SRC_DIR/core/src/option.rs:LL:COL 110 = note: the matched value is of type `Option<Enum>` 111help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms 112 | 113LL ~ None => (), 114LL + _ => todo!() 115 | 116 117error: aborting due to 8 previous errors 118 119For more information about this error, try `rustc --explain E0004`.