Skip to main content

## write_scope_tree

# 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.