Function rustc_mir_build::build::expr::as_place::to_upvars_resolved_place_builder
source · fn to_upvars_resolved_place_builder<'tcx>(
cx: &Builder<'_, 'tcx>,
var_hir_id: LocalVarId,
closure_def_id: LocalDefId,
projection: &[UpvarProjectionElem<'tcx>]
) -> Option<PlaceBuilder<'tcx>>
Expand description
Takes an upvar place and tries to resolve it into a PlaceBuilder
with PlaceBase::Local