Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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
}
}