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() {
339
339
unsafe { host_run_plugin_command ( ) } ;
340
340
}
341
341
342
- pub fn report_panic ( info : & std:: panic:: PanicInfo ) {
342
+ pub fn report_panic ( info : & std:: panic:: PanicHookInfo ) {
343
343
let panic_payload = if let Some ( s) = info. payload ( ) . downcast_ref :: < & str > ( ) {
344
344
format ! ( "{}" , s)
345
345
} else {
Original file line number Diff line number Diff line change @@ -606,7 +606,7 @@ mod not_wasm {
606
606
use super :: * ;
607
607
use crate :: channels:: { SenderWithContext , ASYNCOPENCALLS , OPENCALLS } ;
608
608
use miette:: { Diagnostic , GraphicalReportHandler , GraphicalTheme , Report } ;
609
- use std:: panic:: PanicInfo ;
609
+ use std:: panic:: PanicHookInfo ;
610
610
use thiserror:: Error as ThisError ;
611
611
612
612
/// The maximum amount of calls an [`ErrorContext`] will keep track
@@ -651,7 +651,7 @@ mod not_wasm {
651
651
}
652
652
653
653
/// 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 > )
655
655
where
656
656
T : ErrorInstruction + Clone ,
657
657
{
You can’t perform that action at this time.
0 commit comments