fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
568 B18 linesraw
1error[E0004]: non-exhaustive patterns: `HastaLaVistaBaby` not covered
2  --> $DIR/E0004.rs:9:11
3   |
4LL | / enum Terminator {
5LL | |     HastaLaVistaBaby,
6   | |     ---------------- not covered
7LL | |     TalkToMyHand,
8LL | | }
9   | |_- `Terminator` defined here
10...
11LL |       match x {
12   |             ^ pattern `HastaLaVistaBaby` not covered
13   |
14   = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0004`.