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
rust
/
src
/
test
/
run-fail
/
unwind-move.rs
9 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
Make move-mode arguments unwind correctly. Closes #939
2011-09-16 14:37:58 -07:00
// error-pattern:fail
Make moves explicit in rfail tests
2012-09-18 22:55:21 -07:00
fn
f
(
-
_a
:
@
int
)
{
Make move-mode arguments unwind correctly. Closes #939
2011-09-16 14:37:58 -07:00
fail
;
}
fn
main
(
)
{
let
a
=
@
0
;
Make moves explicit in rfail tests
2012-09-18 22:55:21 -07:00
f
(
move
a
)
;
Make move-mode arguments unwind correctly. Closes #939
2011-09-16 14:37:58 -07:00
}
Reference in New Issue
Copy Permalink