]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0004.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / error-codes / E0004.stderr
1 error[E0004]: non-exhaustive patterns: `HastaLaVistaBaby` not covered
2 --> $DIR/E0004.rs:9:11
3 |
4 LL | / enum Terminator {
5 LL | | HastaLaVistaBaby,
6 | | ---------------- not covered
7 LL | | TalkToMyHand,
8 LL | | }
9 | |_- `Terminator` defined here
10 ...
11 LL | 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 = note: the matched value is of type `Terminator`
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0004`.