rust-lang / rust-lang/rustc_public
Provide more Debug information for indexed types.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
With this https://github.com/rust-lang/rust/pull/115534 we will be able to get nicer debug information for DefId, and according to @oli-obk https://github.com/rust-lang/rust/pull/115534#issuecomment-1705501525, we need to do this for other indexed types as well (Place would be good contender imo).
Edit: Place doesn't need better Debug, but assignments involving Const needs to be fixed they look overly verbose right now
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading rust-lang/rust PR 115534 and its discussion about improved DefId Debug output, then inspect the indexed types and Const assignment formatting in rustc_public. Done means the relevant indexed types have useful Debug information and Const assignments are no longer overly verbose, with the existing tests updated or extended as needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100