[−][src]Function rustc_mir::util::pretty::write_allocation_bytes

pub(in util::pretty) fn write_allocation_bytes<Tag: Copy + Debug, Extra, 'tcx>(
    tcx: TyCtxt<'tcx>,
    alloc: &Allocation<Tag, Extra>,
    w: &mut dyn Write,
    prefix: &str
) -> Result

The prefix argument allows callers to add an arbitrary prefix before each line (even if there is only one line). Note that your prefix should contain a trailing space as the lines are printed directly after it.