Crate rustc_mir[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Rust MIR: a lowered representation of Rust. Also: an experiment!

Re-exports

pub use hair::pattern::check_crate as matchck_crate;

Modules

borrow_check [
Experimental
]

This query borrow-checks the MIR to (further) ensure it is not broken.

build [
Experimental
]
dataflow [
Experimental
]
diagnostics [
Experimental
]
hair [
Experimental
]

The MIR is built from some high-level abstract IR (HAIR). This section defines the HAIR 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.

interpret [
Experimental
]

An interpreter for MIR used in CTFE and by miri

monomorphize [
Experimental
]
shim [
Experimental
]
transform [
Experimental
]
util [
Experimental
]

Macros

run_passes [
Experimental
]

Constants

DIAGNOSTICS [
Experimental
]

Functions

provide [
Experimental
]