Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
7 lines
125 B
Rust
7 lines
125 B
Rust
//@ run-pass
|
|
|
|
fn main() {
|
|
let mut buf = Vec::new();
|
|
|c: u8| buf.push(c); //~ WARN unused closure that must be used
|
|
}
|