rust/tests/ui/parser/if-in-in.fixed

8 lines
131 B
Rust
Raw Normal View History

2020-07-02 00:32:12 -05:00
// run-rustfix
fn main() {
for i in 1..2 { //~ ERROR expected iterable, found keyword `in`
println!("{}", i);
}
}