File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ pub fn go_to_previous_tab() {
339339 unsafe { host_run_plugin_command ( ) } ;
340340}
341341
342- pub fn report_panic ( info : & std:: panic:: PanicInfo ) {
342+ pub fn report_panic ( info : & std:: panic:: PanicHookInfo ) {
343343 let panic_payload = if let Some ( s) = info. payload ( ) . downcast_ref :: < & str > ( ) {
344344 format ! ( "{}" , s)
345345 } else {
Original file line number Diff line number Diff line change @@ -606,7 +606,7 @@ mod not_wasm {
606606 use super :: * ;
607607 use crate :: channels:: { SenderWithContext , ASYNCOPENCALLS , OPENCALLS } ;
608608 use miette:: { Diagnostic , GraphicalReportHandler , GraphicalTheme , Report } ;
609- use std:: panic:: PanicInfo ;
609+ use std:: panic:: PanicHookInfo ;
610610 use thiserror:: Error as ThisError ;
611611
612612 /// The maximum amount of calls an [`ErrorContext`] will keep track
@@ -651,7 +651,7 @@ mod not_wasm {
651651 }
652652
653653 /// Custom panic handler/hook. Prints the [`ErrorContext`].
654- pub fn handle_panic < T > ( info : & PanicInfo < ' _ > , sender : & SenderWithContext < T > )
654+ pub fn handle_panic < T > ( info : & PanicHookInfo < ' _ > , sender : & SenderWithContext < T > )
655655 where
656656 T : ErrorInstruction + Clone ,
657657 {
You can’t perform that action at this time.
0 commit comments