rust/tests/ui/error-codes/E0004.rs
2023-01-11 09:32:08 +00:00

13 lines
193 B
Rust

enum Terminator {
HastaLaVistaBaby,
TalkToMyHand,
}
fn main() {
let x = Terminator::HastaLaVistaBaby;
match x { //~ ERROR E0004
Terminator::TalkToMyHand => {}
}
}