Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
// run-fail
// error-pattern:thread '<unnamed>' panicked at 'test'
// ignore-emscripten Needs threads
use std::thread;
fn main() {
let r: Result<(), _> = thread::spawn(move || {
panic!("test");
})
.join();
assert!(r.is_ok());
}