Sign in
fuchsia
/
third_party
/
rust
/
d440e136e753210882d930c6f4884a43984f6ba0
/
.
/
src
/
test
/
ui
/
issues
/
issue-19086.rs
blob: 9802814a87a51a27bd8993a7313f1e748f8d72a1 [
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/variant, found struct variant `FooB`
}
}