fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0317]: if may be missing an else clause 2 --> $DIR/issue-4201.rs:4:12 3 | 4LL | } else if false { 5 | ____________^ 6LL | | 7LL | | 8LL | | 9LL | | 10LL | | 1 11 | | - found here 12LL | | }; 13 | |_____^ expected (), found integer 14 | 15 = note: expected type `()` 16 found type `{integer}` 17 = note: `if` expressions without `else` evaluate to `()` 18 = help: consider adding an `else` block that evaluates to the expected type 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0317`.