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
8f8ebb550c
rust
/
src
/
test
/
run-pass
/
generic-fn-unique.rs
5 lines
71 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
Update our code to new type parameter kind syntax Closes #1067
2011-10-25 08:56:55 -05:00
fn
f
<
T
>
(
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
fn
main
(
)
{
let
x
=
f
(
~
3
)
;
log
*
x
;
}
Reference in New Issue
Copy Permalink