about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/passes.rs
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-05-30 07:26:39 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-05-30 14:32:21 +0000
commitc56a3093ea08395a5d928269249256a40b31d5db (patch)
tree63469a7097dda53e69c7757a4b8fa42031efa2cd /compiler/rustc_interface/src/passes.rs
parente6152cdf5b31bd844a4cc1049433859d54863602 (diff)
downloadrust-c56a3093ea08395a5d928269249256a40b31d5db.tar.gz
rust-c56a3093ea08395a5d928269249256a40b31d5db.zip
Merge coroutine obligation checking into borrowck parallel loop
Diffstat (limited to 'compiler/rustc_interface/src/passes.rs')
-rw-r--r--compiler/rustc_interface/src/passes.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 75d92ae7a2e..5bc7559d29a 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(