Function rustc_mir::util::pretty::write_mir_intro [−][src]
pub fn write_mir_intro<'a, 'gcx, 'tcx>(
tcx: TyCtxt<'a, 'gcx, 'tcx>,
src: MirSource,
mir: &Mir,
w: &mut Write
) -> Result<()>
🔬 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?
Write out a human-readable textual representation of the MIR's fn
type and the types of its
local variables (both user-defined bindings and compiler temporaries).