diff --git a/library/std/src/panic.rs b/library/std/src/panic.rs index d18b94b6c1aef..0f568da459bef 100644 --- a/library/std/src/panic.rs +++ b/library/std/src/panic.rs @@ -31,9 +31,9 @@ pub use core::panic::{Location, PanicInfo}; /// accessed later using [`PanicInfo::payload`]. /// /// See the [`panic!`] macro for more information about panicking. -#[unstable(feature = "panic_any", issue = "78500")] +#[stable(feature = "panic_any", since = "1.51.0")] #[inline] -pub fn panic_any(msg: M) -> ! { +pub fn panic_any(msg: M) -> ! { crate::panicking::begin_panic(msg); }