
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
182 B
Rust
11 lines
182 B
Rust
//@ run-pass
|
|
#![allow(unused_must_use)]
|
|
//@ needs-threads
|
|
|
|
use std::thread;
|
|
|
|
pub fn main() {
|
|
thread::spawn(move || child("Hello".to_string())).join();
|
|
}
|
|
|
|
fn child(_s: String) {}
|