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

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

9 lines
109 B
Rust
Raw Normal View History

2016-08-30 19:13:37 +08:00
enum Field {
Fool { x: u32 },
}
fn main() {
let s = Field::Fool { joke: 0 };
//~^ ERROR E0559
2016-08-30 19:13:37 +08:00
}