blob: 598273af9cfc4c5d6f70e44eff0c1b3d00f94b03 (
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 previous error
For more information about this error, try `rustc --explain E0308`.
|