fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
492 B17 linesraw
1error[E0004]: non-exhaustive patterns: `C(QA)` not covered
2  --> $DIR/issue-40221.rs:11:11
3   |
4LL | / enum P {
5LL | |     C(PC),
6   | |     - not covered
7LL | | }
8   | |_- `P` defined here
9...
10LL |       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
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0004`.