Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
issues
/
issue-4968.rs
blob: 383b9ecd466fe0baca3c9af0bb8abcb439d0c99f [
file
] [
log
] [
blame
]
// Regression test for issue #4968
const
A
:
(
isize
,
isize
)
=
(
4
,
2
);
fn
main
()
{
match
42
{
A
=>
()
}
//~^ ERROR mismatched types
//~| expected type `{integer}`
//~| found type `(isize, isize)`
//~| expected integer, found tuple
}