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
97452c0ca1
rust
/
src
/
test
/
run-fail
/
unwind-closure.rs
11 lines
118 B
Rust
Raw
Normal View
History
Unescape
Escape
Add a number of unwinding tests Issue #236
2011-09-07 19:01:24 -05:00
// error-pattern:fail
fn
f
(
a
:
@
int
)
{
fail
;
}
fn
main
(
)
{
Remove bind. Issue #2189
2012-06-19 21:34:01 -05:00
let
b
=
@
0
;
let
g
=
{
|
move
b
|
f
(
b
)
}
;
Add a number of unwinding tests Issue #236
2011-09-07 19:01:24 -05:00
g
(
)
;
}
Reference in New Issue
Copy Permalink