index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
type-inference
/
unbounded-type-param-in-fn.rs
blob: 1f336ed59a6ddb6ee7a87ae4fe804ebc4f4978d4 (
plain
)
1
2
3
4
5
6
7
fn
foo
<
T
>
()
->
T
{
panic!
()
}
fn
main
()
{
foo
();
//~ ERROR type annotations needed
}