]> git.proxmox.com Git - rustc.git/blob - src/test/ui/moves/moves-based-on-type-capture-clause.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / moves / moves-based-on-type-capture-clause.rs
1 // run-pass
2 #![allow(unused_must_use)]
3 // ignore-emscripten no threads support
4
5 use std::thread;
6
7 pub fn main() {
8 let x = "Hello world!".to_string();
9 thread::spawn(move|| {
10 println!("{}", x);
11 }).join();
12 }