]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0004.stderr
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[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    = 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`.