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