Skip to content

Commit

Permalink
Auto merge of #17732 - lnicola:sync-from-rust, r=lnicola
Browse files Browse the repository at this point in the history
minor: sync from downstream
  • Loading branch information
bors committed Jul 28, 2024
2 parents cdb97b8 + 900db35 commit fd74511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/stdx/src/panic_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ impl PanicContext {
#[allow(clippy::print_stderr)]
fn init() {
let default_hook = panic::take_hook();
#[allow(deprecated)]
let hook = move |panic_info: &panic::PanicInfo<'_>| {
with_ctx(|ctx| {
if !ctx.is_empty() {
Expand Down
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a91f7d72f12efcc00ecf71591f066c534d45ddf7
1b51d80027919563004918eaadfa0d890ac0eb93

0 comments on commit fd74511

Please sign in to comment.