1
Fork 0

Rename tcx.ensure_with_value() to tcx.ensure_done()

This commit is contained in:
Zalathar 2025-01-30 16:28:44 +11:00
parent 24cdaa146a
commit 9e4f10db65
8 changed files with 37 additions and 25 deletions

View file

@ -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);
}
});
});