mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
23 lines
285 B
Rust
23 lines
285 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 {}
|
|
}
|
|
}
|