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