]>
Commit | Line | Data |
---|---|---|
f2b60f7d | 1 | error[E0004]: non-exhaustive patterns: `Terminator::HastaLaVistaBaby` not covered |
0731742a | 2 | --> $DIR/E0004.rs:9:11 |
2c00a5a8 | 3 | | |
5e7ed085 | 4 | LL | match x { |
f2b60f7d | 5 | | ^ pattern `Terminator::HastaLaVistaBaby` not covered |
532ac7d7 | 6 | | |
5e7ed085 FG |
7 | note: `Terminator` defined here |
8 | --> $DIR/E0004.rs:2:5 | |
9 | | | |
10 | LL | enum Terminator { | |
11 | | ---------- | |
12 | LL | HastaLaVistaBaby, | |
13 | | ^^^^^^^^^^^^^^^^ not covered | |
ba9703b0 | 14 | = note: the matched value is of type `Terminator` |
5e7ed085 FG |
15 | help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown |
16 | | | |
17 | LL ~ Terminator::TalkToMyHand => {} | |
f2b60f7d | 18 | LL + Terminator::HastaLaVistaBaby => todo!() |
5e7ed085 | 19 | | |
2c00a5a8 XL |
20 | |
21 | error: aborting due to previous error | |
22 | ||
0531ce1d | 23 | For more information about this error, try `rustc --explain E0004`. |