]> git.proxmox.com Git - rustc.git/blob - src/test/ui/mismatched_types/for-loop-has-unit-body.rs
New upstream version 1.67.1+dfsg1
[rustc.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 }