Skip to content

Commit f05c969

Browse files
author
The Miri Cronjob Bot
committed
Merge from rustc
2 parents 29cb173 + fff570a commit f05c969

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/stdx/src/panic_context.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ impl PanicContext {
2121
#[allow(clippy::print_stderr)]
2222
fn init() {
2323
let default_hook = panic::take_hook();
24+
#[allow(deprecated)]
2425
let hook = move |panic_info: &panic::PanicInfo<'_>| {
2526
with_ctx(|ctx| {
2627
if !ctx.is_empty() {

0 commit comments

Comments
 (0)