Sign in
fuchsia
/
third_party
/
rust
/
4ecd94e1215882efde5f003c0042bd72a5f8acb2
/
.
/
src
/
test
/
ui
/
issues
/
issue-17405.rs
blob: 14781a7d3f7ea937b8033865b084fb19966ec0cd [
file
] [
log
] [
blame
]
enum
Foo
{
Bar
(
isize
)
}
fn
main
()
{
match
Foo
::
Bar
(
1
)
{
Foo
{
i
}
=>
()
//~ ERROR expected struct, variant or union type, found enum `Foo`
}
}