diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2019-11-26 10:47:08 +0100 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2019-11-26 10:47:08 +0100 |
| commit | eab1dc9b562c4ff128575d6af7afe819e34f9340 (patch) | |
| tree | 5d31bcca73281ebac1cc1f75d749b05cebb40ad0 /src/libcore | |
| parent | 392e5a7150d0a7c0098631d92791a26013ba28cd (diff) | |
| download | rust-eab1dc9b562c4ff128575d6af7afe819e34f9340.tar.gz rust-eab1dc9b562c4ff128575d6af7afe819e34f9340.zip | |
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
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/panic.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcore/panic.rs b/src/libcore/panic.rs index aa81a7d402d..6185f11e466 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; |
