about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-01-30 16:28:44 +1100
committerZalathar <Zalathar@users.noreply.github.com>2025-02-01 12:42:39 +1100
commit9e4f10db658700a191bcb6dba9e4e285297a5683 (patch)
tree4f0655b3aa9d9b38ce3727b224be3363b97b6ef5 /compiler/rustc_interface/src
parent24cdaa146a166e679cbc3fc5187315b043090af2 (diff)
downloadrust-9e4f10db658700a191bcb6dba9e4e285297a5683.tar.gz
rust-9e4f10db658700a191bcb6dba9e4e285297a5683.zip
Rename `tcx.ensure_with_value()` to `tcx.ensure_done()`
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 57a8c272c5c..0324ebf9fd2 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -868,7 +868,7 @@ fn run_required_analyses(tcx: TyCtxt<'_>) {
     sess.time("MIR_coroutine_by_move_body", || {
         tcx.hir().par_body_owners(|def_id| {
             if tcx.needs_coroutine_by_move_body_def_id(def_id.to_def_id()) {
-                tcx.ensure_with_value().coroutine_by_move_body_def_id(def_id);
+                tcx.ensure_done().coroutine_by_move_body_def_id(def_id);
             }
         });
     });