Skip to main content

dump_items

Function dump_items 

Source
pub fn dump_items(
    items: &[TopLevel],
    analysis: Option<&AnalysisResult>,
) -> String
Expand description

Render every top-level item in items, separated by blank lines. Pass analysis: None for dumps before the Analyze stage has run (or when running passes individually); FnDef lines will then omit the [...] annotation block but the IR itself still renders.