rustc_middle::mir::pretty

Function write_mir_intro

Source
fn write_mir_intro<'tcx>(
    tcx: TyCtxt<'tcx>,
    body: &Body<'_>,
    w: &mut dyn Write,
    options: PrettyPrintMirOptions,
) -> Result<()>
Expand description

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).