summaryrefslogtreecommitdiffstats
path: root/tests/ui/inference/issue-113354.rs
blob: ec33d1f8b84e4797d8bb69fdeb13fa6550aae5f8 (plain)
1
2
3
4
//run-rustfix
fn main() {
    let _ = || { while Some(_) = Some(1) { } }; //~ ERROR mismatched types
}