about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-08-18 10:38:17 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-08-20 15:04:00 -0700
commit2ea7e7da0074d4b7fa69008f5f7c5c995f39eec3 (patch)
tree996081799bb042a16b99e8d6b6263d1a62cf3d5b
parent0f0d7024f5a5ab6d3db5202772b2dd7e7a781d26 (diff)
downloadrust-2ea7e7da0074d4b7fa69008f5f7c5c995f39eec3.tar.gz
rust-2ea7e7da0074d4b7fa69008f5f7c5c995f39eec3.zip
rustc_hir_id: Add a comment explaining why the crate exists
-rw-r--r--compiler/rustc_hir_id/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
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)]