File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ use report::{Method, Report};
50
50
51
51
use std:: borrow:: Cow ;
52
52
use std:: io:: Result as IoResult ;
53
+ #[ allow( deprecated) ]
53
54
use std:: panic:: PanicInfo ;
54
55
use std:: path:: { Path , PathBuf } ;
55
56
@@ -149,8 +150,10 @@ macro_rules! setup_panic {
149
150
150
151
#[ doc( hidden) ]
151
152
pub fn setup_panic ( meta : impl Fn ( ) -> Metadata ) {
153
+ #![ allow( deprecated) ]
154
+
152
155
#[ allow( unused_imports) ]
153
- use std:: panic:: { self , PanicInfo } ;
156
+ use std:: panic;
154
157
155
158
match PanicStyle :: default ( ) {
156
159
PanicStyle :: Debug => { }
@@ -266,6 +269,7 @@ fn write_msg<P: AsRef<Path>>(
266
269
}
267
270
268
271
/// Utility function which will handle dumping information to disk
272
+ #[ allow( deprecated) ]
269
273
pub fn handle_dump ( meta : & Metadata , panic_info : & PanicInfo < ' _ > ) -> Option < PathBuf > {
270
274
let mut expl = String :: new ( ) ;
271
275
You can’t perform that action at this time.
0 commit comments