Sign in
◑
Theme
rust
/
rust
/
7bb6510fc1899b008837a376a7fdf31b341cc1bb
/
.
/
tests
/
ui
/
for-loop-while
/
loop-label-shadowing.rs
blob: e3dfbe65d8cf028b9c160174378422dac0aeb573 [
file
]
//@ run-pass
// Issue #12512.
//@ pretty-expanded FIXME #23616
fn
main
()
{
let
mut
foo
=
Vec
::
new
();
#[
allow
(
unused_labels
)]
'
foo
:
for
i in
&[
1
,
2
,
3
]
{
foo
.
push
(*
i
);
}
}