Mention *scoped* thread in panic message.
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
This commit is contained in:
parent
aa9c0881ef
commit
4cb73704e2
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ where
|
|||
match result {
|
||||
Err(e) => resume_unwind(e),
|
||||
Ok(_) if scope.data.a_thread_panicked.load(Ordering::Relaxed) => {
|
||||
panic!("a thread panicked")
|
||||
panic!("a scoped thread panicked")
|
||||
}
|
||||
Ok(result) => result,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue