]> git.lizzy.rs Git - rust.git/blob - tests/ui/mismatched_types/for-loop-has-unit-body.rs
Auto merge of #106627 - Ezrashaw:no-e0711-without-staged-api, r=Mark-Simulacrum
[rust.git] / tests / ui / mismatched_types / for-loop-has-unit-body.rs
1 fn main() {
2     for x in 0..3 {
3         x //~ ERROR mismatched types
4     }
5 }