1 error[E0308]: `match` arms have incompatible types
2 --> $DIR/single-line.rs:2:52
4 LL | let _ = match Some(42) { Some(x) => x, None => "" };
5 | -------------- - ^^ expected integer, found `&str`
7 | | this is found to be of type `{integer}`
8 | `match` arms have incompatible types
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.