]>
Commit | Line | Data |
---|---|---|
041b39d2 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/for-loop-has-unit-body.rs:3:9 |
041b39d2 | 3 | | |
532ac7d7 | 4 | LL | x |
0731742a | 5 | | ^ expected (), found integer |
041b39d2 XL |
6 | | |
7 | = note: expected type `()` | |
8 | found type `{integer}` | |
9 | ||
10 | error: aborting due to previous error | |
11 | ||
0531ce1d | 12 | For more information about this error, try `rustc --explain E0308`. |