1error[E0308]: mismatched types 2 --> $DIR/for-loop-has-unit-body.rs:3:9 3 | 4LL | x 5 | ^ expected `()`, found integer 6 7error: aborting due to previous error 8 9For more information about this error, try `rustc --explain E0308`. 10