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