fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: `if` and `else` have incompatible types 2 --> $DIR/dont-suggest-box-on-empty-else-arm.rs:4:12 3 | 4LL | if true { 5 | ------- `if` and `else` have incompatible types 6LL | "boo2" 7 | ------ expected because of this 8LL | } else { 9 | ____________^ 10LL | | 11LL | | } 12 | |_____^ expected `&str`, found `()` 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0308`.