Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-10200.rs
blob: fe36a7e00bff3dd6bff2dc546b1899cd6e10503d [
file
] [
log
] [
blame
]
struct
Foo
(
bool
);
fn
foo
(
_
:
usize
)
->
Foo
{
Foo
(
false
)
}
fn
main
()
{
match
Foo
(
true
)
{
foo
(
x
)
//~ ERROR expected tuple struct or tuple variant, found function `foo`
=>
()
}
}