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
07fe5611ad
rust
/
src
/
test
/
run-pass
/
unique-generic-assign.rs
7 lines
71 B
Rust
Raw
Normal View
History
Unescape
Escape
Add a test for assignment of unique boxes of generics Closes #976 Issue #409
2011-09-24 23:31:28 -05:00
// Issue #976
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
)
{
Add a test for assignment of unique boxes of generics Closes #976 Issue #409
2011-09-24 23:31:28 -05:00
let
_x2
=
x
;
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink