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
82cb88b777
rust
/
src
/
test
/
ui
/
loops
/
for-each-loop-panic.rs
9 lines
112 B
Rust
Raw
Normal View
History
Unescape
Escape
Move tests from `test/run-fail` to UI
2020-04-16 01:50:32 -05:00
// run-fail
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