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