This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-04-29 19:47:38 +00:00
Code
Issues
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 06:50:32 +00:00
// run-fail
Handle fail inside a for-each loop properly
2011-07-05 22:59:04 +00:00
// error-pattern:moop
librustc: Stop reexporting the standard modules from prelude.
2013-05-25 02:35:29 +00:00
run rustfmt on test/run-fail folder
2016-05-27 02:39:36 +00:00
fn
main
(
)
{
for
_
in
0_
usize
..
10_
usize
{
panic!
(
"
moop
"
)
;
}
}
Reference in New Issue
Copy Permalink