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
/
for-each-loop-fail.rs
4 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
Handle fail inside a for-each loop properly
2011-07-05 15:59:04 -07:00
// error-pattern:moop
Convert 'use' to 'extern mod'. Remove old 'use' syntax
2012-09-11 17:46:20 -07:00
extern
mod
std
;
Move the world over to using the new style string literals and types. Closes #2907.
2012-07-13 22:57:48 -07:00
fn
main
(
)
{
for
uint
::
range
(
0
u
,
10
u
)
|
_i
|
{
fail
~
"
moop
"
;
}
}
Reference in New Issue
Copy Permalink