From c56a3093ea08395a5d928269249256a40b31d5db Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Fri, 30 May 2025 07:26:39 +0000 Subject: [PATCH] Merge coroutine obligation checking into borrowck parallel loop --- compiler/rustc_interface/src/passes.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 75d92ae7a2ed6..5bc7559d29aa5 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -1012,10 +1012,6 @@ fn run_required_analyses(tcx: TyCtxt<'_>) { { tcx.ensure_ok().mir_drops_elaborated_and_const_checked(def_id); } - }); - }); - sess.time("coroutine_obligations", || { - tcx.par_hir_body_owners(|def_id| { if tcx.is_coroutine(def_id.to_def_id()) { tcx.ensure_ok().mir_coroutine_witnesses(def_id); let _ = tcx.ensure_ok().check_coroutine_obligations(