Skip to content

Commit fd74511

Browse files
committed
Auto merge of #17732 - lnicola:sync-from-rust, r=lnicola
minor: sync from downstream
2 parents cdb97b8 + 900db35 commit fd74511

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/stdx/src/panic_context.rs

Lines changed: 1 addition & 0 deletions
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() {

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a91f7d72f12efcc00ecf71591f066c534d45ddf7
1+
1b51d80027919563004918eaadfa0d890ac0eb93

0 commit comments

Comments
 (0)