]> git.lizzy.rs Git - rust.git/blob - tests/ui/typeck/while-loop-block-cond.stderr
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / typeck / while-loop-block-cond.stderr
1 error[E0308]: mismatched types
2   --> $DIR/while-loop-block-cond.rs:2:11
3    |
4 LL |     while {} {}
5    |           ^^ expected `bool`, found `()`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0308`.