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
43271a39ad
rust
/
src
/
test
/
run-fail
/
for-each-loop-panic.rs
8 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
Handle fail inside a for-each loop properly
2011-07-05 17:59:04 -05:00
// error-pattern:moop
librustc: Stop reexporting the standard modules from prelude.
2013-05-24 21:35:29 -05:00
run rustfmt on test/run-fail folder
2016-05-26 21:39:36 -05:00
fn
main
(
)
{
for
_
in
0_
usize
..
10_
usize
{
panic!
(
"
moop
"
)
;
}
}
Reference in New Issue
Copy Permalink