fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0004]: non-exhaustive patterns: `Foo::A(false)`, `Foo::B(false)` and `Foo::C(false)` not covered 2 --> $DIR/issue-56379.rs:8:11 3 | 4LL | match Foo::A(true) { 5 | ^^^^^^^^^^^^ patterns `Foo::A(false)`, `Foo::B(false)` and `Foo::C(false)` not covered 6 | 7note: `Foo` defined here 8 --> $DIR/issue-56379.rs:2:5 9 | 10LL | enum Foo { 11 | --- 12LL | A(bool), 13 | ^ not covered 14LL | B(bool), 15 | ^ not covered 16LL | C(bool), 17 | ^ not covered 18 = note: the matched value is of type `Foo` 19help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms 20 | 21LL ~ Foo::C(true) => {}, 22LL + Foo::A(false) | Foo::B(false) | Foo::C(false) => todo!() 23 | 24 25error: aborting due to previous error 26 27For more information about this error, try `rustc --explain E0004`.