diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-01-19 21:30:49 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2021-01-19 21:30:49 +0100 |
| commit | 230d5b1e5f0a7e2e75be11c2324f23445df83850 (patch) | |
| tree | 95b6e6907aa177ad7d069c7c925f6a8272721681 | |
| parent | d03fe84169d50a4b96cdef7b2f862217ab634055 (diff) | |
| download | rust-230d5b1e5f0a7e2e75be11c2324f23445df83850.tar.gz rust-230d5b1e5f0a7e2e75be11c2324f23445df83850.zip | |
Stabilize std::panic::panic_any.
| -rw-r--r-- | library/std/src/panic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/panic.rs b/library/std/src/panic.rs index d18b94b6c1a..bb08fa35d17 100644 --- a/library/std/src/panic.rs +++ b/library/std/src/panic.rs @@ -31,7 +31,7 @@ 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<M: Any + Send>(msg: M) -> ! { crate::panicking::begin_panic(msg); |
