
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
164 B
Rust
11 lines
164 B
Rust
//@ run-pass
|
|
// Issue #12512.
|
|
|
|
|
|
fn main() {
|
|
let mut foo = Vec::new();
|
|
#[allow(unused_labels)]
|
|
'foo: for i in &[1, 2, 3] {
|
|
foo.push(*i);
|
|
}
|
|
}
|