Function rustc_hir_analysis::check::upvar::adjust_for_non_move_closure
source · [−]fn adjust_for_non_move_closure<'tcx>(
place: Place<'tcx>,
kind: UpvarCapture
) -> (Place<'tcx>, UpvarCapture)
Expand description
Adjust closure capture just that if taking ownership of data, only move data from enclosing stack frame.