Skip to content

Commit 94a4279

Browse files
Allow deprecated temporarily to unblock version bump
1 parent 9db2650 commit 94a4279

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/crates/stdx/src/panic_context.rs

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ impl PanicContext {
2121
#[allow(clippy::print_stderr)]
2222
fn init() {
2323
let default_hook = panic::take_hook();
24+
#[allow(deprecated)]
2425
let hook = move |panic_info: &panic::PanicInfo<'_>| {
2526
with_ctx(|ctx| {
2627
if !ctx.is_empty() {

0 commit comments

Comments
 (0)