Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-66702-break-outside-loop-val.rs
blob: 05b86cbbf8f057e90d267ece300f649ae42f8e1f [
file
] [
log
] [
blame
]
// Breaks with values inside closures used to ICE (#66863)
fn
main
()
{
'
some_label
:
loop
{
||
break
'
some_label
();
//~^ ERROR: use of unreachable label `'some_label`
//~| ERROR: `break` inside of a closure
}
}