rust/tests/ui/inference/issue-113354.rs

5 lines
104 B
Rust
Raw Normal View History

//@run-rustfix
fn main() {
let _ = || { while Some(_) = Some(1) { } }; //~ ERROR mismatched types
}