]>
Commit | Line | Data |
---|---|---|
32a655c1 | 1 | error[E0004]: non-exhaustive patterns: `C(QA)` not covered |
0731742a | 2 | --> $DIR/issue-40221.rs:11:11 |
32a655c1 | 3 | | |
532ac7d7 XL |
4 | LL | / enum P { |
5 | LL | | C(PC), | |
6 | | | - not covered | |
7 | LL | | } | |
8 | | |_- `P` defined here | |
9 | ... | |
10 | LL | match proto { | |
11 | | ^^^^^ pattern `C(QA)` not covered | |
12 | | | |
13 | = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms | |
ba9703b0 | 14 | = note: the matched value is of type `P` |
32a655c1 | 15 | |
041b39d2 | 16 | error: aborting due to previous error |
32a655c1 | 17 | |
0531ce1d | 18 | For more information about this error, try `rustc --explain E0004`. |