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