1 error[E0308]: mismatched types
2 --> $DIR/issue-4968.rs:15:16
4 LL | match 42 { A => () }
5 | ^ expected integral variable, found tuple
7 = note: expected type `{integer}`
8 found type `(isize, isize)`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.