Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-19086.rs
blob: cc83874cb16c254de3178cd918350ecf68d6d56d [
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 struct variant `FooB`
}
}