rust/tests/ui/loops/for-each-loop-panic.rs
2024-02-16 20:02:50 +00:00

10 lines
149 B
Rust

//@ run-fail
//@ error-pattern:moop
//@ ignore-emscripten no processes
fn main() {
for _ in 0_usize..10_usize {
panic!("moop");
}
}