Function rustc_typeck::check::upvar::restrict_precision_for_drop_types [−][src]
fn restrict_precision_for_drop_types<'a, 'tcx>(
fcx: &'a FnCtxt<'a, 'tcx>,
place: Place<'tcx>,
curr_mode: UpvarCapture<'tcx>,
span: Span
) -> (Place<'tcx>, UpvarCapture<'tcx>)Expand description
Rust doesn’t permit moving fields out of a type that implements drop
