rust-lang / rust-lang/rustc_public
Expose `DefId::is_local`
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
We are currently missing DefId::is_local; we have the Crate.is_local field but it's not public and I'm not sure how to do DefId → Crate
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 the public DefId and Crate APIs referenced in the issue, then trace the existing path between them. Confirm how rustc's DefId::is_local behavior should be represented in rustc_public and identify the relevant tests or validation command. Done means the operation is publicly available with behavior matching the referenced rustc API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100