diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-02 12:31:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-02 12:31:55 +0100 |
| commit | 84595c2b1ea8f349f5a8da2084021855262b51f8 (patch) | |
| tree | fa883d2a979dbb4241dc38752826775ce0511356 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | bbb87335154cad31bde1fafc6d67b1c5509b6448 (diff) | |
| parent | 89abc1921586807214842ba37b85d7eed5361088 (diff) | |
| download | rust-84595c2b1ea8f349f5a8da2084021855262b51f8.tar.gz rust-84595c2b1ea8f349f5a8da2084021855262b51f8.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
