Function rustc_mir_transform::generator::check_must_not_suspend_ty
source · fn check_must_not_suspend_ty<'tcx>(
tcx: TyCtxt<'tcx>,
ty: Ty<'tcx>,
hir_id: HirId,
param_env: ParamEnv<'tcx>,
data: SuspendCheckData<'_>
) -> bool