Function flowistry_pdg::rustc::mir::pretty::write_mir_fn
source · pub fn write_mir_fn<F, 'tcx>(
tcx: TyCtxt<'tcx>,
body: &Body<'tcx>,
extra_data: &mut F,
w: &mut dyn Write
) -> Result<(), Error>where
F: FnMut(PassWhere, &mut dyn Write) -> Result<(), Error>,
Expand description
Write out a human-readable textual representation for the given function.