Function rustc_middle::mir::pretty::write_mir_fn
source · pub fn write_mir_fn<'tcx, F>(
tcx: TyCtxt<'tcx>,
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 function.