1 error[E0308]: mismatched types
2 --> $DIR/loop-no-implicit-break.rs:3:9
5 | ^ expected `()`, found integer
7 help: you might have meant to break the loop with this value
12 error[E0308]: mismatched types
13 --> $DIR/loop-no-implicit-break.rs:13:9
16 | ^ expected `()`, found integer
18 help: you might have meant to break the loop with this value
23 error[E0308]: mismatched types
24 --> $DIR/loop-no-implicit-break.rs:21:9
27 | ^ expected `()`, found integer
29 help: you might have meant to return this value
34 error[E0308]: mismatched types
35 --> $DIR/loop-no-implicit-break.rs:29:9
38 | ^ expected `()`, found integer
40 help: you might have meant to return this value
45 error: aborting due to 4 previous errors
47 For more information about this error, try `rustc --explain E0308`.