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