rust/tests/ui/issues/issue-83048.rs
2024-02-16 20:02:50 +00:00

6 lines
133 B
Rust

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