diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-01-30 16:28:44 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-01 12:42:39 +1100 |
| commit | 9e4f10db658700a191bcb6dba9e4e285297a5683 (patch) | |
| tree | 4f0655b3aa9d9b38ce3727b224be3363b97b6ef5 /compiler/rustc_interface/src | |
| parent | 24cdaa146a166e679cbc3fc5187315b043090af2 (diff) | |
| download | rust-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.rs | 2 |
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); } }); }); |
