From 2ea7e7da0074d4b7fa69008f5f7c5c995f39eec3 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Mon, 18 Aug 2025 10:38:17 -0700 Subject: rustc_hir_id: Add a comment explaining why the crate exists --- compiler/rustc_hir_id/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/rustc_hir_id/src/lib.rs b/compiler/rustc_hir_id/src/lib.rs index 17c3e16b467..d07bc88e66a 100644 --- a/compiler/rustc_hir_id/src/lib.rs +++ b/compiler/rustc_hir_id/src/lib.rs @@ -1,3 +1,5 @@ +//! Library containing Id types from `rustc_hir`, split out so crates can use it without depending +//! on all of `rustc_hir` (which is large and depends on other large things like `rustc_target`). #![allow(internal_features)] #![feature(negative_impls)] #![feature(rustc_attrs)] -- cgit 1.4.1-3-g733a5