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<()>,