rust/tests/ui/parser/missing-expression-in-for-loop.rs

6 lines
101 B
Rust
Raw Normal View History

fn main() {
for i in {
//~^ ERROR missing expression to iterate on in `for` loop
}
}