]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0004.stderr
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[rust.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
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0004`.