]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/while-loop-block-cond.stderr
Rollup merge of #101171 - thomcc:fix-winfs-ub, r=ChrisDenton
[rust.git] / src / test / 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`.