
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
19 lines
268 B
Rust
19 lines
268 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
|
|
|
|
fn take(x: isize) -> isize {x}
|
|
|
|
fn the_loop() {
|
|
let mut list = Vec::new();
|
|
loop {
|
|
let x = 5;
|
|
if x > 3 {
|
|
list.push(take(x));
|
|
} else {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
pub fn main() {}
|