rust/tests/ui/parser/break-in-unlabeled-block.fixed
Esteban Küber c30d57bb77 fix
2023-10-09 19:24:05 +00:00

12 lines
249 B
Rust

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