Module rustc_hir_analysis::check::region
source ยท Expand description
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 ๐
Functionsยง
- record_
var_ ๐lifetime Records the lifetime of a local variable ascx.var_parent
- region_
scope_ ๐tree Per-bodyregion::ScopeTree
. TheDefId
should be the ownerDefId
for the body; in the case of closures, this will be redirected to the enclosing function. - resolve_
arm ๐ - resolve_
block ๐ - resolve_
expr ๐ - resolve_
local ๐ - resolve_
pat ๐ - resolve_
stmt ๐