mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 11:53:44 +00:00
Allow deprecated temporarily to unblock version bump
This commit is contained in:
parent
9db265048e
commit
94a4279fba
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user