rust/tests/ui/error-codes/E0004.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
193 B
Rust
Raw Normal View History

2016-05-12 13:17:02 +00:00
enum Terminator {
HastaLaVistaBaby,
TalkToMyHand,
}
fn main() {
let x = Terminator::HastaLaVistaBaby;
match x { //~ ERROR E0004
Terminator::TalkToMyHand => {}
}
}