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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
131 B
Rust
Raw Normal View History

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