8 lines
134 B
Rust
8 lines
134 B
Rust
|
enum foo { alpha, beta(int) }
|
||
|
|
||
|
fn main() {
|
||
|
alt alpha {
|
||
|
alpha | beta(i) {} //~ ERROR inconsistent number of bindings
|
||
|
}
|
||
|
}
|