about summary refs log tree commit diff
path: root/compiler/rustc_hir_id/src
AgeCommit message (Collapse)AuthorLines
2025-08-20rustc_hir_id: Add a comment explaining why the crate existsJosh Triplett-0/+2
2025-08-20Split `rustc_hir_id` out of `rustc_hir`Josh Triplett-0/+194
Some crates depend on `rustc_hir` but only want `HirId` and similar id types. `rustc_hir` is a heavy dependency, since it pulls in `rustc_target`. Split these types out into their own crate `rustc_hir_id`. This allows `rustc_errors` to drop its direct dependency on `rustc_hir`. (`rustc_errors` still depends on `rustc_hir` indirectly through `rustc_lint_defs`; a subsequent commit will fix that.)