fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.3 KiB33 linesraw
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
9error[E0004]: non-exhaustive patterns: `Some(Some(West))` not covered
10  --> $DIR/match-arm-statics-2.rs:29:11
11   |
12LL |     match Some(Some(North)) {
13   |           ^^^^^^^^^^^^^^^^^ pattern `Some(Some(West))` not covered
14   |
15   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
16
17error[E0004]: non-exhaustive patterns: `Foo { bar: Some(North), baz: NewBool(true) }` not covered
18  --> $DIR/match-arm-statics-2.rs:48:11
19   |
20LL | / struct Foo {
21LL | |     bar: Option<Direction>,
22LL | |     baz: NewBool
23LL | | }
24   | |_- `Foo` defined here
25...
26LL |       match (Foo { bar: Some(North), baz: NewBool(true) }) {
27   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `Foo { bar: Some(North), baz: NewBool(true) }` not covered
28   |
29   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
30
31error: aborting due to 3 previous errors
32
33For more information about this error, try `rustc --explain E0004`.