fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: `match` arms have incompatible types 2 --> $DIR/issue-81839.rs:11:14 3 | 4LL | / match num { 5LL | | 1 => { 6LL | | cx.answer_str("hi"); 7 | | -------------------- 8 | | | | 9 | | | help: consider removing this semicolon 10 | | this is found to be of type `()` 11LL | | } 12LL | | _ => cx.answer_str("hi"), 13 | | ^^^^^^^^^^^^^^^^^^^ expected `()`, found future 14LL | | } 15 | |_____- `match` arms have incompatible types 16 17error: aborting due to previous error 18 19For more information about this error, try `rustc --explain E0308`.