Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
array-slice-vec
/
array-break-length.rs
blob: 60589f7c264a612fe771d66ae61bb25c2055aeb3 [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
loop
{
|
_
:
[
_
;
break
]|
{}
//~ ERROR: `break` outside of a loop
}
loop
{
|
_
:
[
_
;
continue
]|
{}
//~ ERROR: `continue` outside of a loop
}
}