fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/dont-suggest-break-thru-item.rs:9:17 3 | 4LL | / if true { 5LL | | Err(1) 6 | | ^^^^^^ expected `()`, found `Result<_, {integer}>` 7LL | | 8LL | | } 9 | |_____________- expected this to be `()` 10 | 11 = note: expected unit type `()` 12 found enum `Result<_, {integer}>` 13 14error[E0308]: mismatched types 15 --> $DIR/dont-suggest-break-thru-item.rs:22:17 16 | 17LL | / if true { 18LL | | Err(1) 19 | | ^^^^^^ expected `()`, found `Result<_, {integer}>` 20LL | | 21LL | | } 22 | |_____________- expected this to be `()` 23 | 24 = note: expected unit type `()` 25 found enum `Result<_, {integer}>` 26 27error[E0308]: mismatched types 28 --> $DIR/dont-suggest-break-thru-item.rs:35:17 29 | 30LL | / if true { 31LL | | Err(1) 32 | | ^^^^^^ expected `()`, found `Result<_, {integer}>` 33LL | | 34LL | | } 35 | |_____________- expected this to be `()` 36 | 37 = note: expected unit type `()` 38 found enum `Result<_, {integer}>` 39 40error[E0308]: mismatched types 41 --> $DIR/dont-suggest-break-thru-item.rs:47:17 42 | 43LL | / if true { 44LL | | Err(1) 45 | | ^^^^^^ expected `()`, found `Result<_, {integer}>` 46LL | | 47LL | | } 48 | |_____________- expected this to be `()` 49 | 50 = note: expected unit type `()` 51 found enum `Result<_, {integer}>` 52 53error: aborting due to 4 previous errors 54 55For more information about this error, try `rustc --explain E0308`.