Function rustc_middle::mir::pretty::write_allocation_bytes
source · pub fn write_allocation_bytes<'tcx, Prov: Provenance, Extra, Bytes: AllocBytes>(
tcx: TyCtxt<'tcx>,
alloc: &Allocation<Prov, Extra, Bytes>,
w: &mut dyn Write,
prefix: &str
) -> Result
Expand description
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.