]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/for-loop-has-unit-body.stderr
Merge commit 'e228f0c16ea8c34794a6285bf57aab627c26b147' into libgccjit-codegen
[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:3:9
3    |
4 LL |         x
5    |         ^ expected `()`, found integer
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0308`.