Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
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
}