6 lines
124 B
Rust
6 lines
124 B
Rust
// should-fail-irrefutable_let_patterns
|
|
fn main() {
|
|
if let _ = 5 {}
|
|
//~^ ERROR irrefutable if-let pattern [E0162]
|
|
}
|