1 error[E0308]: mismatched types
2 --> $DIR/break-while-condition.rs:19:20
4 LL | let _: ! = { //~ ERROR mismatched types
5 | ____________________^
6 LL | | 'a: while break 'a {};
8 | |_________^ expected !, found ()
10 = note: expected type `!`
13 error[E0308]: mismatched types
14 --> $DIR/break-while-condition.rs:26:13
16 LL | / while false { //~ ERROR mismatched types
19 | |_____________^ expected !, found ()
21 = note: expected type `!`
24 error[E0308]: mismatched types
25 --> $DIR/break-while-condition.rs:34:13
27 LL | / while false { //~ ERROR mismatched types
30 | |_____________^ expected !, found ()
32 = note: expected type `!`
35 error: aborting due to 3 previous errors
37 For more information about this error, try `rustc --explain E0308`.