6 lines
143 B
Rust
6 lines
143 B
Rust
// error-pattern:unreachable pattern
|
|
|
|
enum foo { a(@foo, int), b(uint), }
|
|
|
|
fn main() { match b(1u) { b(_) | a(@_, 1) => { } a(_, 1) => { } } }
|