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-iter.rs
11 lines
114 B
Rust
Raw
Normal View
History
Unescape
Escape
Add a number of unwinding tests Issue #236
2011-09-07 17:01:24 -07:00
// error-pattern:fail
s/block()/fn()/g
2012-01-23 14:59:00 -08:00
fn
x
(
it
:
fn
(
int
)
)
{
Add a number of unwinding tests Issue #236
2011-09-07 17:01:24 -07:00
fail
;
Remove remaining uses of iter and for-each Issue #1056
2011-10-21 13:14:28 +02:00
it
(
0
)
;
Add a number of unwinding tests Issue #236
2011-09-07 17:01:24 -07:00
}
fn
main
(
)
{
let
a
=
@
0
;
Convert to new closure syntax
2012-06-30 16:19:07 -07:00
x
(
|
_i
|
{
}
)
;
Add a number of unwinding tests Issue #236
2011-09-07 17:01:24 -07:00
}
Reference in New Issue
Copy Permalink