@@ -80,7 +80,7 @@ impl<'a> PanicInfo<'a> { |
|
|
80 |
80 |
/// |
81 |
81 |
/// [`std::panic::PanicHookInfo`]: ../../std/panic/struct.PanicHookInfo.html |
82 |
82 |
/// [`std::panic::PanicHookInfo::payload`]: ../../std/panic/struct.PanicHookInfo.html#method.payload |
83 |
|
- #[deprecated(since = "1.77.0", note = "this never returns anything useful")] |
|
83 |
+ #[deprecated(since = "CURRENT_RUSTC_VERSION", note = "this never returns anything useful")] |
84 |
84 |
#[stable(feature = "panic_hooks", since = "1.10.0")] |
85 |
85 |
#[allow(deprecated, deprecated_in_future)] |
86 |
86 |
pub fn payload(&self) -> &(dyn crate::any::Any + Send) { |