]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/for-loop-has-unit-body.rs
Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup
[rust.git] / src / test / 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 }