Re-establish Syncness of Error.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-11-25 06:43:18 +00:00
parent e5073165f0
commit 98affbdeaf
3 changed files with 21 additions and 11 deletions

View File

@@ -95,7 +95,7 @@ pub fn trap() {
}
#[must_use]
pub fn panic_str(p: &Box<dyn Any + Send>) -> &'static str {
pub fn panic_str(p: &Box<dyn Any + Send + 'static>) -> &'static str {
(**p)
.downcast_ref::<&str>()
.copied()