about summary refs log tree commit diff
path: root/tests/ui/inference/issue-113354.fixed
blob: b9c84220764be6090657e1be0abbac0cda2419ab (plain)
1
2
3
4
//@run-rustfix
fn main() {
    let _ = || { while let Some(_) = Some(1) { } }; //~ ERROR mismatched types
}