1
Fork 0

Update top-level rustc_middle comment.

- Mention THIR.
- Removed mentions of non-existent READMEs.
This commit is contained in:
Nicholas Nethercote 2025-02-03 08:20:34 +11:00
parent 0be280e52f
commit bd6eb05ccd

View file

@ -1,10 +1,11 @@
//! The "main crate" of the Rust compiler. This crate contains common //! The "main crate" of the Rust compiler. This crate contains common
//! type definitions that are used by the other crates in the rustc //! type definitions that are used by the other crates in the rustc
//! "family". Some prominent examples (note that each of these modules //! "family". The following are some prominent examples.
//! has their own README with further details).
//! //!
//! - **HIR.** The "high-level (H) intermediate representation (IR)" is //! - **HIR.** The "high-level (H) intermediate representation (IR)" is
//! defined in the [`hir`] module. //! 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 //! - **MIR.** The "mid-level (M) intermediate representation (IR)" is
//! defined in the [`mir`] module. This module contains only the //! defined in the [`mir`] module. This module contains only the
//! *definition* of the MIR; the passes that transform and operate //! *definition* of the MIR; the passes that transform and operate