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-unique.rs
blob: 81fbd307d2a87fcb2a90da9e4b544f47c1ef4858 (
plain
)
1
2
3
4
fn f<T: Copy>(x: ~T) -> ~T { return x; } fn main() { let x = f(~3); log(debug, *x); }