Sign in
rust
/
rust
/
244fc326f23b58bc9db6bd985c59b80098ff14c1
/
.
/
tests
/
ui
/
issues
/
issue-19086.rs
blob: 42148c5f5a18d2c312f4c5fcec729c8bd2eb7520 [
file
] [
log
] [
blame
]
use
Foo
::
FooB
;
enum
Foo
{
FooB
{
x
:
i32
,
y
:
i32
}
}
fn
main
()
{
let
f
=
FooB
{
x
:
3
,
y
:
4
};
match
f
{
FooB
(
a
,
b
)
=>
println
!(
"{} {}"
,
a
,
b
),
//~^ ERROR expected tuple struct or tuple variant, found variant `FooB`
}
}