We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9db2650 commit 94a4279Copy full SHA for 94a4279
src/tools/rust-analyzer/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