Function rustc_mir::util::graphviz::write_mir_fn_graphviz [−][src]
pub fn write_mir_fn_graphviz<'tcx, W>(
tcx: TyCtxt<'_, '_, 'tcx>,
def_id: DefId,
mir: &Mir,
w: &mut W
) -> Result<()> where
W: Write,
🔬 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 a graphviz DOT graph of the MIR.