1 error[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
5 LL | | Bar { bar: Bar, id: usize }
7 | |_- `Foo` defined here
10 | ^ patterns `Bar { bar: C, .. }`, `Bar { bar: D, .. }`, `Bar { bar: E, .. }` and 1 more not covered
12 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
13 = note: the matched value is of type `Foo`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0004`.