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
12c32e944d
rust
/
src
/
test
/
run-pass
/
move-2-unique.rs
4 lines
80 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
Remove uses of binary move - <- - from tests and libraries
2012-10-23 13:11:23 -05:00
fn
main
(
)
{
let
x
=
~
{
x
:
1
,
y
:
2
,
z
:
3
}
;
let
y
=
move
x
;
assert
(
y
.
y
=
=
2
)
;
}
Reference in New Issue
Copy Permalink