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