rust/tests/ui/issues/issue-40782.rs
2024-02-16 20:02:50 +00:00

9 lines
128 B
Rust

//@ run-rustfix
fn main() {
for _i 0..2 { //~ ERROR missing `in`
}
for _i of 0..2 { //~ ERROR missing `in`
}
}