1 error: struct literals are not allowed here
2 --> $DIR/struct-literal-in-for.rs:12:14
9 help: surround the struct literal with parentheses
16 error[E0277]: `bool` is not an iterator
17 --> $DIR/struct-literal-in-for.rs:12:14
23 | |__________^ `bool` is not an iterator
25 = help: the trait `std::iter::Iterator` is not implemented for `bool`
26 = note: required by `std::iter::IntoIterator::into_iter`
28 error: aborting due to 2 previous errors
30 For more information about this error, try `rustc --explain E0277`.