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ยง
Functionsยง
- record_var_lifetime ๐Records the lifetime of a local variable as
cx.var_parent
- Per-body
region::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 ๐