rust/tests/ui/parser/break-in-unlabeled-block.rs
2023-10-09 19:24:05 +00:00

12 lines
219 B
Rust

// run-rustfix
fn main() {
{
break (); //~ ERROR `break` outside of a loop or labeled block
}
{
{
break (); //~ ERROR `break` outside of a loop or labeled block
}
}
}