This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
1d826b735c
rust
/
src
/
test
/
run-pass
/
generic-fn-unique.rs
5 lines
85 B
Rust
Raw
Normal View
History
Unescape
Escape
Create a bunch of test cases for unique boxes by copying box tests XFAIL the ones that don't work Issue #409
2011-09-23 16:58:06 -05:00
Switch to new param kind bound syntax And remove support for the old syntax
2012-01-05 08:35:37 -06:00
fn
f
<
T
:
copy
>
(
x
:
~
T
)
->
~
T
{
ret
x
;
}
Create a bunch of test cases for unique boxes by copying box tests XFAIL the ones that don't work Issue #409
2011-09-23 16:58:06 -05:00
Register new snapshots, purge log_err and log_full in favour of log(...).
2011-12-22 19:53:53 -06:00
fn
main
(
)
{
let
x
=
f
(
~
3
)
;
log
(
debug
,
*
x
)
;
}
Reference in New Issue
Copy Permalink