]> git.proxmox.com Git - rustc.git/blame - src/test/ui/mismatched_types/for-loop-has-unit-body.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / mismatched_types / for-loop-has-unit-body.stderr
CommitLineData
041b39d2 1error[E0308]: mismatched types
0731742a 2 --> $DIR/for-loop-has-unit-body.rs:3:9
041b39d2 3 |
532ac7d7 4LL | x
0731742a 5 | ^ expected (), found integer
041b39d2
XL
6 |
7 = note: expected type `()`
8 found type `{integer}`
9
10error: aborting due to previous error
11
0531ce1d 12For more information about this error, try `rustc --explain E0308`.