rustc_monomorphize::mono_checks::move_check

Function check_moves

Source
pub(crate) fn check_moves<'tcx>(
    tcx: TyCtxt<'tcx>,
    instance: Instance<'tcx>,
    body: &'tcx Body<'tcx>,
)