diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2024-01-31 10:28:00 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2024-06-11 15:47:00 +0200 |
| commit | 3854357ad2c164a87f7e625874d4cdc3ccd9cc33 (patch) | |
| tree | 9e7f96adca4a6bfb011d25e1412c6f54b67d34dc | |
| parent | 64e56db72aa2b1f112504504a7dceba63881cdef (diff) | |
| download | rust-3854357ad2c164a87f7e625874d4cdc3ccd9cc33.tar.gz rust-3854357ad2c164a87f7e625874d4cdc3ccd9cc33.zip | |
Fix deprecation version.
| -rw-r--r-- | library/core/src/panic/panic_info.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/panic/panic_info.rs b/library/core/src/panic/panic_info.rs index 7c792a58d2a..df8f441bf35 100644 --- a/library/core/src/panic/panic_info.rs +++ b/library/core/src/panic/panic_info.rs @@ -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.74.0", note = "this never returns anything useful")] + #[deprecated(since = "1.77.0", 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) { |
