rust/tests/ui/issues/issue-83048.rs
2023-01-11 09:32:08 +00:00

6 lines
132 B
Rust

// compile-flags: -Z unpretty=thir-tree
pub fn main() {
break; //~ ERROR: `break` outside of a loop or labeled block [E0268]
}