Module rustc_mir::util::patch[][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?

Re-exports

use rustc::ty::Ty;
use rustc::mir::*;
use rustc_data_structures::indexed_vec::IndexVec;
use rustc_data_structures::indexed_vec::Idx;
use syntax_pos::Span;

Structs

MirPatch [
Experimental
]

This struct represents a patch to MIR, which can add new statements and basic blocks and patch over block terminators.