blob: c9358e3d5faac5ce2ec3f4911c8206c8e7b55bcd [file]
//! Regression test for issue https://github.com/rust-lang/rust/issues/4968
//@ dont-require-annotations: NOTE
const A: (isize, isize) = (4, 2);
fn main() {
match 42 {
A => (),
//~^ ERROR mismatched types
//~| NOTE expected type `{integer}`
//~| NOTE found tuple `(isize, isize)`
//~| NOTE expected integer, found `(isize, isize)`
}
}