rustc_middle::mir::pretty

Function write_basic_block

Source
fn write_basic_block<'tcx, F>(
    tcx: TyCtxt<'tcx>,
    block: BasicBlock,
    body: &Body<'tcx>,
    extra_data: &mut F,
    w: &mut dyn Write,
    options: PrettyPrintMirOptions,
) -> Result<()>
where F: FnMut(PassWhere, &mut dyn Write) -> Result<()>,
Expand description

Write out a human-readable textual representation for the given basic block.