about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/base.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-01-30 16:20:09 +1100
committerZalathar <Zalathar@users.noreply.github.com>2025-02-01 12:38:54 +1100
commit24cdaa146a166e679cbc3fc5187315b043090af2 (patch)
treefae749274d49618dbf7e7ae692965fce9e3576e0 /compiler/rustc_codegen_ssa/src/base.rs
parent854f22563c8daf92709fae18ee6aed52953835cd (diff)
downloadrust-24cdaa146a166e679cbc3fc5187315b043090af2.tar.gz
rust-24cdaa146a166e679cbc3fc5187315b043090af2.zip
Rename `tcx.ensure()` to `tcx.ensure_ok()`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/base.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/base.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/base.rs b/compiler/rustc_codegen_ssa/src/base.rs
index 6e0333cf3ce..df945920ee8 100644
--- a/compiler/rustc_codegen_ssa/src/base.rs
+++ b/compiler/rustc_codegen_ssa/src/base.rs
@@ -634,7 +634,7 @@ pub fn codegen_crate<B: ExtraBackendMethods>(
     // unnecessarily.
     if tcx.dep_graph.is_fully_enabled() {
         for cgu in codegen_units {
-            tcx.ensure().codegen_unit(cgu.name());
+            tcx.ensure_ok().codegen_unit(cgu.name());
         }
     }