fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0004]: non-exhaustive patterns: `(true, false)` not covered 2 --> $DIR/match-arm-statics-2.rs:17:11 3 | 4LL | match (true, false) { 5 | ^^^^^^^^^^^^^ pattern `(true, false)` not covered 6 | 7 = note: the matched value is of type `(bool, bool)` 8help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown 9 | 10LL ~ (false, true) => (), 11LL + (true, false) => todo!() 12 | 13 14error[E0004]: non-exhaustive patterns: `Some(Some(Direction::West))` not covered 15 --> $DIR/match-arm-statics-2.rs:29:11 16 | 17LL | match Some(Some(North)) { 18 | ^^^^^^^^^^^^^^^^^ pattern `Some(Some(Direction::West))` not covered 19 | 20note: `Option<Option<Direction>>` defined here 21 --> $SRC_DIR/core/src/option.rs:LL:COL 22 ::: $SRC_DIR/core/src/option.rs:LL:COL 23 | 24 = note: not covered 25 | 26 = note: not covered 27 = note: the matched value is of type `Option<Option<Direction>>` 28help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown 29 | 30LL ~ None => (), 31LL + Some(Some(Direction::West)) => todo!() 32 | 33 34error[E0004]: non-exhaustive patterns: `Foo { bar: Some(Direction::North), baz: NewBool(true) }` not covered 35 --> $DIR/match-arm-statics-2.rs:48:11 36 | 37LL | match (Foo { bar: Some(North), baz: NewBool(true) }) { 38 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `Foo { bar: Some(Direction::North), baz: NewBool(true) }` not covered 39 | 40note: `Foo` defined here 41 --> $DIR/match-arm-statics-2.rs:40:8 42 | 43LL | struct Foo { 44 | ^^^ 45 = note: the matched value is of type `Foo` 46help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown 47 | 48LL ~ Foo { bar: Some(EAST), .. } => (), 49LL + Foo { bar: Some(Direction::North), baz: NewBool(true) } => todo!() 50 | 51 52error: aborting due to 3 previous errors 53 54For more information about this error, try `rustc --explain E0004`.