fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
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 = 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 `(bool, bool)` 9 10error[E0004]: non-exhaustive patterns: `Some(Some(West))` not covered 11 --> $DIR/match-arm-statics-2.rs:29:11 12 | 13LL | match Some(Some(North)) { 14 | ^^^^^^^^^^^^^^^^^ pattern `Some(Some(West))` not covered 15 | 16 ::: $SRC_DIR/libcore/option.rs:LL:COL 17 | 18LL | Some(#[stable(feature = "rust1", since = "1.0.0")] T), 19 | ---- 20 | | 21 | not covered 22 | not covered 23 | 24 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 25 = note: the matched value is of type `std::option::Option<std::option::Option<Direction>>` 26 27error[E0004]: non-exhaustive patterns: `Foo { bar: Some(North), baz: NewBool(true) }` not covered 28 --> $DIR/match-arm-statics-2.rs:48:11 29 | 30LL | / struct Foo { 31LL | | bar: Option<Direction>, 32LL | | baz: NewBool 33LL | | } 34 | |_- `Foo` defined here 35... 36LL | match (Foo { bar: Some(North), baz: NewBool(true) }) { 37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `Foo { bar: Some(North), baz: NewBool(true) }` not covered 38 | 39 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms 40 = note: the matched value is of type `Foo` 41 42error: aborting due to 3 previous errors 43 44For more information about this error, try `rustc --explain E0004`.