rust/src/test/ui/issues/issue-25343.rs
2019-07-27 18:56:16 +03:00

23 lines
284 B
Rust

// run-pass
#[allow(unused)]
fn main() {
|| {
'label: loop {
}
};
// More cases added from issue 31754
'label2: loop {
break;
}
let closure = || {
'label2: loop {}
};
fn inner_fn() {
'label2: loop {}
}
}