fork/rust

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

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

1.41.0
621 B16 linesraw
1error[E0004]: non-exhaustive patterns: `Bar { bar: C, .. }`, `Bar { bar: D, .. }`, `Bar { bar: E, .. }` and 1 more not covered
2  --> $DIR/issue-39362.rs:10:11
3   |
4LL | / enum Foo {
5LL | |     Bar { bar: Bar, id: usize }
6LL | | }
7   | |_- `Foo` defined here
8...
9LL |       match f {
10   |             ^ patterns `Bar { bar: C, .. }`, `Bar { bar: D, .. }`, `Bar { bar: E, .. }` and 1 more not covered
11   |
12   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0004`.