We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 855d640 + 8cac04e commit 950c779Copy full SHA for 950c779
library/std/src/panic.rs
@@ -31,9 +31,9 @@ pub use core::panic::{Location, PanicInfo};
31
/// accessed later using [`PanicInfo::payload`].
32
///
33
/// See the [`panic!`] macro for more information about panicking.
34
-#[unstable(feature = "panic_any", issue = "78500")]
+#[stable(feature = "panic_any", since = "1.51.0")]
35
#[inline]
36
-pub fn panic_any<M: Any + Send>(msg: M) -> ! {
+pub fn panic_any<M: 'static + Any + Send>(msg: M) -> ! {
37
crate::panicking::begin_panic(msg);
38
}
39
0 commit comments