Crate rustc_mir_build

source ·
Expand description

Construction of MIR from HIR.

This crate also contains the match exhaustiveness and usefulness checking.

Modules

  • build 🔒
  • errors 🔒
  • The MIR is built from some typed high-level IR (THIR). This section defines the THIR along with a trait for accessing it. The intention is to allow MIR construction to be unit-tested and separated from the Rust source and compiler data structures.

Statics

  • Raw content of Fluent resource for this crate, generated by fluent_messages macro, imported by rustc_driver to include all crates’ resources in one bundle.

Functions