We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc5e618 commit 3acb41fCopy full SHA for 3acb41f
core/src/panic/panic_info.rs
@@ -79,7 +79,7 @@ impl<'a> PanicInfo<'a> {
79
///
80
/// [`std::panic::PanicHookInfo`]: ../../std/panic/struct.PanicHookInfo.html
81
/// [`std::panic::PanicHookInfo::payload`]: ../../std/panic/struct.PanicHookInfo.html#method.payload
82
- #[deprecated(since = "CURRENT_RUSTC_VERSION", note = "this never returns anything useful")]
+ #[deprecated(since = "1.81.0", note = "this never returns anything useful")]
83
#[stable(feature = "panic_hooks", since = "1.10.0")]
84
#[allow(deprecated, deprecated_in_future)]
85
pub fn payload(&self) -> &(dyn crate::any::Any + Send) {
0 commit comments