We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e55b5b + d401839 commit 900db35Copy full SHA for 900db35
crates/stdx/src/panic_context.rs
@@ -21,6 +21,7 @@ impl PanicContext {
21
#[allow(clippy::print_stderr)]
22
fn init() {
23
let default_hook = panic::take_hook();
24
+ #[allow(deprecated)]
25
let hook = move |panic_info: &panic::PanicInfo<'_>| {
26
with_ctx(|ctx| {
27
if !ctx.is_empty() {
0 commit comments