From eab1dc9b562c4ff128575d6af7afe819e34f9340 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 26 Nov 2019 10:47:08 +0100 Subject: [PATCH] Stabilize the `core::panic` module `std::panic` is already stable. `core::panic::PanicInfo` and `core::panic::Location` are stable and can be used through that path because of a bug in stability checking: https://github.com/rust-lang/rust/issues/15702 --- src/libcore/panic.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libcore/panic.rs b/src/libcore/panic.rs index aa81a7d402d0a..6185f11e466f0 100644 --- a/src/libcore/panic.rs +++ b/src/libcore/panic.rs @@ -1,8 +1,6 @@ //! Panic support in the standard library. -#![unstable(feature = "core_panic_info", - reason = "newly available in libcore", - issue = "44489")] +#![stable(feature = "core_panic_info", since = "1.41.0")] use crate::any::Any; use crate::fmt;