fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0308]: `match` arms have incompatible types 2 --> $DIR/issue-11319.rs:8:20 3 | 4LL | / match Some(10) { 5LL | | 6LL | | Some(5) => false, 7 | | ----- this is found to be of type `bool` 8LL | | 9LL | | Some(2) => true, 10 | | ---- this is found to be of type `bool` 11LL | | 12LL | | None => (), 13 | | ^^ expected `bool`, found `()` 14... | 15LL | | _ => true 16LL | | } 17 | |_____- `match` arms have incompatible types 18 19error: aborting due to previous error 20 21For more information about this error, try `rustc --explain E0308`.