Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
for-loop-while
/
loop-label-shadowing.rs
blob: 030da69cbb79c9e569fd125b0b41971b3e1f3611 [
file
] [
log
] [
blame
]
//@ run-pass
// Issue #12512.
fn
main
()
{
let
mut
foo
=
Vec
::
new
();
#[
allow
(
unused_labels
)]
'
foo
:
for
i in
&[
1
,
2
,
3
]
{
foo
.
push
(*
i
);
}
}