Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
type-inference
/
unbounded-type-param-in-fn.rs
blob: 1f336ed59a6ddb6ee7a87ae4fe804ebc4f4978d4 [
file
] [
log
] [
blame
]
fn
foo
<
T
>()
->
T
{
panic
!()
}
fn
main
()
{
foo
();
//~ ERROR type annotations needed
}