mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 05:27:36 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
12 lines
164 B
Rust
12 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);
|
|
}
|
|
}
|