rustc_middle::mir::pretty

Function dump_matched_mir_node

source
fn dump_matched_mir_node<'tcx, F>(
    tcx: TyCtxt<'tcx>,
    pass_num: bool,
    pass_name: &str,
    disambiguator: &dyn Display,
    body: &Body<'tcx>,
    extra_data: F,
    options: PrettyPrintMirOptions,
)
where F: FnMut(PassWhere, &mut dyn Write) -> Result<()>,