1 error[E0308]: mismatched types
2 --> $DIR/issue-7867.rs:7:9
5 | - unit variant defined here
7 LL | match (true, false) {
8 | ------------- this expression has type `(bool, bool)`
10 | ^^^^ expected tuple, found enum `A`
12 = note: expected tuple `(bool, bool)`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0308`.