1
Fork 0

Fallout from stabilization

This commit is contained in:
Aaron Turon 2015-02-17 15:10:25 -08:00
parent d8f8f7a58c
commit d0de2b46e9
89 changed files with 578 additions and 558 deletions

View file

@ -10,10 +10,10 @@
// error-pattern:thread '<unnamed>' panicked at 'test'
use std::thread::Thread;
use std::thread;
fn main() {
let r: Result<int,_> = Thread::scoped(move|| {
let r: Result<int,_> = thread::spawn(move|| {
panic!("test");
1
}).join();