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
17 | - expected `()` because of default return type
19 LL | / while false { //~ ERROR mismatched types
22 | |_____________^ expected !, found ()
24 = note: expected type `!`
27 error[E0308]: mismatched types
28 --> $DIR/break-while-condition.rs:34:13
31 | - expected `()` because of default return type
33 LL | / while false { //~ ERROR mismatched types
36 | |_____________^ expected !, found ()
38 = note: expected type `!`
41 error: aborting due to 3 previous errors
43 For more information about this error, try `rustc --explain E0308`.