]> git.lizzy.rs Git - rust.git/blob - src/test/ui/missing/missing-items/issue-40221.stderr
Add test for eval order for a+=b
[rust.git] / src / test / ui / missing / missing-items / issue-40221.stderr
1 error[E0004]: non-exhaustive patterns: `C(QA)` not covered
2   --> $DIR/issue-40221.rs:11:11
3    |
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
14    = note: the matched value is of type `P`
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0004`.