Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
ui
/
pattern
/
issue-72574-1.rs
blob: 1b80a21793a0aa42b8b89813a783e3069073a454 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
=
(
1
,
2
,
3
);
match
x
{
(
_a
,
_x
@
..)
=>
{}
_
=>
{}
}
}
//~^^^^ ERROR `_x @` is not allowed in a tuple
//~| ERROR: `..` patterns are not allowed here
//~| ERROR: mismatched types