Skip to content

Tracking issue for cleaning up core's and std's panic machinery #116005

Open

Description

@m-ou-se

We can probably clean a bunch of things up in library/core/src/panic.rs, library/core/src/panicking.rs, library/core/src/panic/panic_info.rs, library/std/src/panic.rs and library/std/src/panicking.rs.

Here's an attempt of a sketch of the situation today:

diagram

(Edit: last diagram update: 2023-09-21)

(Note that a bunch of the complexity is the implementations of some of these functions, which is not visible in this diagram.)

Activity

  1. added
    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.
    T-libsRelevant to the library team, which will review and decide on the PR/issue.
    A-panicArea: Panicking machinery
    on Sep 20, 2023
  2. self-assigned this
    on Sep 20, 2023
  3. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Sep 20, 2023
  4. removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Sep 20, 2023
  5. added a commit that references this issue on Sep 20, 2023
  6. added a commit that references this issue on Sep 21, 2023
  7. added 2 commits that reference this issue on Sep 21, 2023
  8. added a commit that references this issue on Sep 21, 2023
  9. added a commit that references this issue on Aug 4, 2025
  10. added a commit that references this issue on Aug 4, 2025
  11. 8 remaining items

  12. added a commit that references this issue on Aug 6, 2025
  13. added a commit that references this issue on Aug 7, 2025
  14. added a commit that references this issue on Aug 7, 2025
  15. added a commit that references this issue on Aug 7, 2025
  16. added 3 commits that reference this issue on Aug 7, 2025
  17. added a commit that references this issue on Aug 8, 2025
  18. modified the milestone: 1.91.0 on Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

A-panicArea: Panicking machineryC-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions