Verified Solution[rust-lang/rust] `core::panic::PanicInfo` reported as stable since 1.41.0 rather than 1.10.0
Sponsored Content
### ROOT CAUSE
The issue stems from an incorrect `#[stable]` attribute in the documentation comments for `PanicInfo`. The attribute was mistakenly updated to `since = "1.41.0"` instead of the correct `since = "1.10.0"`, leading to outdated documentation.
### CODE FIX
```rust
--- a/src/core/panic/panic_info.rs
+++ b/src/core/panic/panic_info.rs
@@ -9,7 +9,7 @@
impl! { I: PanicInfo }
#[derive(Debug)]
- #[stable(feature = "panic_hooks", since = "1.41.0")]
+ #[stable(feature = "panic_hooks", since = "1.10.0")]
pub struct PanicInfo {
/// The payload of the panic.
pub payload: Box,
```
This fix corrects the `#[stable]` attribute to the proper version, ensuring the documentation accurately reflects the stability of `PanicInfo`.
Deploy on DigitalOcean ($200 Credit)
Related Fixes
[gitlab-org/gitlab] Add admin controls to enable/disable specific LLM models for Duo Agent Platform at instance and top‑level group scope
[microsoft/vscode] Some bug?
[microsoft/vscode] when I asked to run a continuous task, it keep stuck