about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-02 12:31:55 +0100
committerGitHub <noreply@github.com>2025-02-02 12:31:55 +0100
commit58a5f891f98c9063f6a0a5941c74440947329897 (patch)
treea0e9b2b3b381771dce8781506d188677264f480f /compiler/rustc_codegen_llvm/src/errors.rs
parent555dd6fe766c796474568ea285d1033e16660eba (diff)
parent3ae0239f85e13c07810d7d6f941ed319fccefb6e (diff)
downloadrust-58a5f891f98c9063f6a0a5941c74440947329897.tar.gz
rust-58a5f891f98c9063f6a0a5941c74440947329897.zip
Rollup merge of #136279 - Zalathar:ensure-ok, r=oli-obk
Rename `tcx.ensure()` to `tcx.ensure_ok()`, and improve the associated docs

This is all based on my archaeology for https://rust-lang.zulipchat.com/#narrow/channel/182449-t-compiler.2Fhelp/topic/.60TyCtxtEnsure.60.

The main renamings are:
- `tcx.ensure()` → `tcx.ensure_ok()`
- `tcx.ensure_with_value()` → `tcx.ensure_done()`
- Query modifier `ensure_forwards_result_if_red` → `return_result_from_ensure_ok`

Hopefully these new names are a better fit for the *actual* function and purpose of these query call modes.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions