rust-lang / rust-lang/rust

`core::panic::PanicInfo` reported as stable since 1.41.0 rather than 1.10.0

Open
#153,473 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

A-docs A-rustdoc-ui A-stability C-discussion T-rustdoc-frontend
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Location (URL)

https://doc.rust-lang.org/1.94.0/std/panic/type.PanicInfo.html

Summary

Since 1.83 (https://doc.rust-lang.org/1.83.0/core/panic/struct.PanicInfo.html), core::panic::PanicInfo has been documented as stable since 1.41.0. This is still the case as of the docs for 1.94 at https://doc.rust-lang.org/1.94.0/core/panic/struct.PanicInfo.html

Previously in 1.82 (https://doc.rust-lang.org/1.82.0/core/panic/struct.PanicInfo.html) it was documented as stable since 1.10.0

Even the code linked as the source for the 1.94 docs, https://doc.rust-lang.org/1.94.0/src/core/panic/panic_info.rs.html#12, still includes #[stable(feature = "panic_hooks", since = "1.10.0")]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with core/panic/panic_info.rs, especially the #[stable(feature = "panic_hooks", since = "1.10.0")] annotation linked from the issue, and compare it with the generated 1.82 and 1.94 documentation. Trace why the rendered stability version changed, then verify that the documentation reports the correct version.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.