Auto merge of #3761 - rust-lang:rustup-2024-07-24, r=RalfJung

Automatic Rustup
This commit is contained in:
bors 2024-07-24 05:49:14 +00:00
commit 8ad2b26aaf

View file

@ -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() {