Allow deprecated temporarily to unblock version bump

This commit is contained in:
Mark Rousskov 2024-07-20 15:51:58 -04:00
parent 4da51aafef
commit f410a2d02f

View file

@ -21,6 +21,7 @@ impl PanicContext {
#[allow(clippy::print_stderr)] #[allow(clippy::print_stderr)]
fn init() { fn init() {
let default_hook = panic::take_hook(); let default_hook = panic::take_hook();
#[allow(deprecated)]
let hook = move |panic_info: &panic::PanicInfo<'_>| { let hook = move |panic_info: &panic::PanicInfo<'_>| {
with_ctx(|ctx| { with_ctx(|ctx| {
if !ctx.is_empty() { if !ctx.is_empty() {