rustc_hir_analysis::check::region

Function record_var_lifetime

Source
fn record_var_lifetime(
    visitor: &mut RegionResolutionVisitor<'_>,
    var_id: ItemLocalId,
)
Expand description

Records the lifetime of a local variable as cx.var_parent