error[E0308]: `match` arms have incompatible types --> $DIR/huge_multispan_highlight.rs:99:18 | LL | let _ = match true { | ---------- `match` arms have incompatible types LL | true => ( | _________________- ... | LL | | ), | |_________- this is found to be of type `()` LL | false => " | __________________^ ... | LL | | ", | |_________^ expected `()`, found `&str` error[E0308]: `match` arms have incompatible types --> $DIR/huge_multispan_highlight.rs:216:18 | LL | let _ = match true { | ---------- `match` arms have incompatible types LL | true => ( | _________________- LL | | LL | | 1 // last line shown in multispan header ... | LL | | ), | |_________- this is found to be of type `{integer}` LL | false => " | __________________^ LL | | LL | | LL | | 1 last line shown in multispan ... | LL | | ", | |_________^ expected integer, found `&str` error: aborting due to 2 previous errors For more information about this error, try `rustc --explain E0308`.