Allow deprecated temporarily to unblock version bump
This commit is contained in:
parent
9db265048e
commit
94a4279fba
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user