Function rustc_mir_transform::coroutine::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