# Function rustc_middle::mir::pretty::write_basic_block

source ·

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

Expand description

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