Function rustc_typeck::check::upvar::restrict_capture_precision[−][src]

fn restrict_capture_precision<'tcx>(place: Place<'tcx>) -> Place<'tcx>

Truncate projections so that following rules are obeyed by the captured place: