Skip to content

Move our paths over to diagnostic items #5393

Closed
rust-lang/rust
#142787

Description

@Manishearth

Currently we have a ton of hardcoded paths for stdlib types.

Rustc has a way of tagging types for diagnostics via a "diagnostic item" API (rust-lang/rust#60966). We should go through rustc and tag most of these diagnostic items, and replace the hardcoded paths with hardcoded diagnostic item names instead. We can still keep the path framework around for rapid prototyping, but have a comment recommending people switch to diagnostic items whenever possible.

Activity

  1. added
    E-mediumCall for participation: Medium difficulty level problem and requires some initial experience.
    C-an-interesting-projectCategory: Interesting projects, that usually are more involved design/code wise.
    on Mar 30, 2020
  2. flip1995 commented on Mar 30, 2020

    @flip1995
    Member

    Marking it as tracking issue and pinning it, since this is probably done in multiple steps.

  3. pinned this issue on Mar 30, 2020
  4. added a commit that references this issue on Apr 14, 2020
  5. added a commit that references this issue on Apr 22, 2020
  6. added a commit that references this issue on Apr 23, 2020
  7. added 2 commits that reference this issue on Apr 23, 2020
  8. added a commit that references this issue on Apr 26, 2020
  9. added 3 commits that reference this issue on Apr 26, 2020
  10. added a commit that references this issue on May 2, 2020
  11. 36 remaining items

  12. added 2 commits that reference this issue on Feb 18, 2025
  13. added a commit that references this issue on Feb 18, 2025
  14. added 2 commits that reference this issue on Mar 11, 2025
  15. samueltardieu commented on Jun 20, 2025

    @samueltardieu
    Member

    I think this issue can now be unpinned.

  16. unpinned this issue on Jun 20, 2025
  17. added a commit that references this issue on Jun 21, 2025
    24f797e
  18. added a commit that references this issue on Jun 21, 2025
    7a5dfbb
  19. samueltardieu commented on Jun 21, 2025

    @samueltardieu
    Member

    Fixed in r-l/r, will be imported during the next sync.

  20. added a commit that references this issue on Jun 26, 2025
    f027fc8
  21. added a commit that references this issue on Jul 3, 2025
    daf8ed1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-an-interesting-projectCategory: Interesting projects, that usually are more involved design/code wise.C-tracking-issueCategory: Tracking IssueE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.G-performance-projectGoal: For issues and PRs related to the Clippy Performance Project

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions