blob: 7f67650fd4ce2d8e1101ae360fcd53e0772ad285 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0308]: mismatched types
--> $DIR/while-loop-block-cond.rs:2:11
|
LL | while {} {}
| ^^ expected `bool`, found `()`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.
|