Sign in
fuchsia
/
third_party
/
rust
/
91a15e285783b89219b31803eadfe855e38312a4
/
.
/
src
/
test
/
ui
/
array-break-length.rs
blob: 2696aea5e89931bfa7e6287a80fe4db5464f3e36 [
file
] [
log
] [
blame
]
fn
main
()
{
loop
{
|
_
:
[
_
;
break
]|
{}
//~ ERROR: `break` outside of loop
//~^ ERROR mismatched types
}
loop
{
|
_
:
[
_
;
continue
]|
{}
//~ ERROR: `continue` outside of loop
//~^ ERROR mismatched types
}
}