mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Fix deprecation version.
This commit is contained in:
parent
cae18fa7b0
commit
1dc7952303
@ -80,7 +80,7 @@ impl<'a> PanicInfo<'a> {
|
||||
///
|
||||
/// [`std::panic::PanicHookInfo`]: ../../std/panic/struct.PanicHookInfo.html
|
||||
/// [`std::panic::PanicHookInfo::payload`]: ../../std/panic/struct.PanicHookInfo.html#method.payload
|
||||
#[deprecated(since = "1.77.0", note = "this never returns anything useful")]
|
||||
#[deprecated(since = "CURRENT_RUSTC_VERSION", note = "this never returns anything useful")]
|
||||
#[stable(feature = "panic_hooks", since = "1.10.0")]
|
||||
#[allow(deprecated, deprecated_in_future)]
|
||||
pub fn payload(&self) -> &(dyn crate::any::Any + Send) {
|
||||
|
Loading…
Reference in New Issue
Block a user