blob: 1ee9d2bad14ff90dabfa9e6b97bdb62d89bb4c48 [file] [log] [blame]
enum Terminator {
HastaLaVistaBaby,
TalkToMyHand,
}
fn main() {
let x = Terminator::HastaLaVistaBaby;
match x { //~ ERROR E0004
Terminator::TalkToMyHand => {}
}
}