[][src]Function rustc_mir::util::pretty::write_scope_tree

fn write_scope_tree(
    tcx: TyCtxt,
    mir: &Mir,
    scope_tree: &FxHashMap<SourceScope, Vec<SourceScope>>,
    w: &mut Write,
    parent: SourceScope,
    depth: usize
) -> Result<()>
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Prints user-defined variables in a scope tree.

Returns the total number of variables printed.