[−][src]Module rustc_passes::region

This file builds up the ScopeTree, which describes the parent links in the region hierarchy.

For more information about how MIR-based region-checking works, see the rustc dev guide.

Structs

Context
RegionResolutionVisitor

Functions

provide
record_var_lifetime

Records the lifetime of a local variable as cx.var_parent

region_scope_tree
resolve_arm
resolve_block
resolve_expr
resolve_local
resolve_pat
resolve_stmt