Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
match
/
match-unresolved-one-arm.rs
blob: fa65d87b3abbdf6050dc69bc580d390f491e242f [
file
] [
log
] [
blame
]
fn
foo
<
T
>()
->
T
{
panic
!(
"Rocks for my pillow"
)
}
fn
main
()
{
let
x
=
match
()
{
//~ ERROR type annotations needed
()
=>
foo
()
// T here should be unresolved
};
}