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

extern crate std;
extern crate arena;
extern crate bitflags;
extern crate log;
extern crate graphviz as dot;
extern crate rustc;
extern crate rustc_data_structures;
extern crate serialize as rustc_serialize;
extern crate rustc_errors;
extern crate syntax;
extern crate syntax_pos;
extern crate rustc_target;
extern crate log_settings;
extern crate rustc_apfloat;
extern crate byteorder;
use std::prelude::v1::*;
pub use hair::pattern::check_crate as matchck_crate;
use rustc::ty::maps::Providers;

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 translated 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
]