Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
array-break-length.rs
blob: 60589f7c264a612fe771d66ae61bb25c2055aeb3 [
file
] [
log
] [
blame
]
fn
main
()
{
loop
{
|
_
:
[
_
;
break
]|
{}
//~ ERROR: `break` outside of a loop
}
loop
{
|
_
:
[
_
;
continue
]|
{}
//~ ERROR: `continue` outside of a loop
}
}