mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-25 14:13:38 +00:00
12 lines
129 B
Rust
12 lines
129 B
Rust
//@ run-pass
|
|
|
|
#![allow(irrefutable_let_patterns)]
|
|
|
|
fn main() {
|
|
if let _ = 5 {}
|
|
|
|
while let _ = 5 {
|
|
break;
|
|
}
|
|
}
|