[−][src]Function rustc_mir::util::spanview::write_document

pub fn write_document<'tcx, W>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
    span_viewables: Vec<SpanViewable>,
    title: &str,
    w: &mut W
) -> Result<()> where
    W: Write, 

Generate a spanview HTML+CSS document for the given local function def_id, and a pre-generated list SpanViewables.