Skip to content

Commit

Permalink
Auto merge of rust-lang#3761 - rust-lang:rustup-2024-07-24, r=RalfJung
Browse files Browse the repository at this point in the history
Automatic Rustup
  • Loading branch information
bors committed Jul 24, 2024
2 parents 29cb173 + f05c969 commit 8ad2b26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/stdx/src/panic_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ impl PanicContext {
#[allow(clippy::print_stderr)]
fn init() {
let default_hook = panic::take_hook();
#[allow(deprecated)]
let hook = move |panic_info: &panic::PanicInfo<'_>| {
with_ctx(|ctx| {
if !ctx.is_empty() {
Expand Down

0 comments on commit 8ad2b26

Please sign in to comment.