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