diff --git a/library/core/src/panic.rs b/library/core/src/panic.rs index b3d9643fed0c..5fec9c5cd5fa 100644 --- a/library/core/src/panic.rs +++ b/library/core/src/panic.rs @@ -146,7 +146,7 @@ pub macro unreachable_2021 { /// not compromise unwind safety. #[doc(hidden)] #[unstable(feature = "panic_internals", issue = "none")] -#[allow_internal_unstable(panic_internals, const_format_args)] +#[allow_internal_unstable(panic_internals, const_format_args, delayed_debug_assertions)] #[rustc_macro_transparency = "semitransparent"] pub macro debug_assert_nounwind { ($cond:expr $(,)?) => {