Function rustc_middle::mir::spanview::write_document
source · [−]pub fn write_document<'tcx, W>(
tcx: TyCtxt<'tcx>,
spanview_span: Span,
span_viewables: Vec<SpanViewable>,
title: &str,
w: &mut W
) -> Result<()>where
W: Write,
Expand description
Generate a spanview HTML+CSS document for the given local function def_id
, and a pre-generated
list SpanViewable
s.