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
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-pass
/
generic-fn-box.rs
blob: 4f0bd22944ede3647134cd476a5b60fbcdb36a8b (
plain
)
1
2
3
4
5
fn f<T>(x: @T) -> @T { ret x; } fn main() { let x = f(@3); log(debug, *x); }