about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-02-03 08:20:34 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-02-04 08:34:11 +1100
commitbd6eb05ccd3eaff622992255144a55ddbaf328e2 (patch)
treeae65a71f522a8baf7625cb33e38676945529f8ea
parent0be280e52f43b65e1f32b5f10687ce440f77070e (diff)
downloadrust-bd6eb05ccd3eaff622992255144a55ddbaf328e2.tar.gz
rust-bd6eb05ccd3eaff622992255144a55ddbaf328e2.zip
Update top-level `rustc_middle` comment.
- Mention THIR.
- Removed mentions of non-existent READMEs.
-rw-r--r--compiler/rustc_middle/src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/lib.rs b/compiler/rustc_middle/src/lib.rs
index 9d2aae1477b..7a6d329fd47 100644
--- a/compiler/rustc_middle/src/lib.rs
+++ b/compiler/rustc_middle/src/lib.rs
@@ -1,10 +1,11 @@
 //! The "main crate" of the Rust compiler. This crate contains common
 //! type definitions that are used by the other crates in the rustc
-//! "family". Some prominent examples (note that each of these modules
-//! has their own README with further details).
+//! "family". The following are some prominent examples.
 //!
 //! - **HIR.** The "high-level (H) intermediate representation (IR)" is
 //!   defined in the [`hir`] module.
+//! - **THIR.** The "typed high-level (H) intermediate representation (IR)"
+//!   is defined in the [`thir`] module.
 //! - **MIR.** The "mid-level (M) intermediate representation (IR)" is
 //!   defined in the [`mir`] module. This module contains only the
 //!   *definition* of the MIR; the passes that transform and operate