rustc_middle::mir::pretty

Function write_scope_tree

source
fn write_scope_tree(
    tcx: TyCtxt<'_>,
    body: &Body<'_>,
    scope_tree: &FxHashMap<SourceScope, Vec<SourceScope>>,
    w: &mut dyn Write,
    parent: SourceScope,
    depth: usize,
    options: PrettyPrintMirOptions,
) -> Result<()>
Expand description

Prints local variables in a scope tree.