]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/for-loop-has-unit-body.stderr
Revert "Change error count messages"
[rust.git] / src / test / ui / mismatched_types / for-loop-has-unit-body.stderr
1 error[E0308]: mismatched types
2   --> $DIR/for-loop-has-unit-body.rs:13:9
3    |
4 13 |         x //~ ERROR mismatched types
5    |         ^ expected (), found integral variable
6    |
7    = note: expected type `()`
8               found type `{integer}`
9
10 error: aborting due to previous error(s)
11