diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2025-06-18 15:14:48 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2025-06-18 15:46:19 +0000 |
| commit | c6e77b3ba63cc9f824f99b7d356055e22bcf2ae2 (patch) | |
| tree | 4796b2cbbf0c77660c379250af8c0df82990d476 /compiler/rustc_interface/src/passes.rs | |
| parent | 75e7cf5f85aad82331a38deff24845b63eaf30f3 (diff) | |
| download | rust-c6e77b3ba63cc9f824f99b7d356055e22bcf2ae2.tar.gz rust-c6e77b3ba63cc9f824f99b7d356055e22bcf2ae2.zip | |
Reduce uses of `hir_crate`.
Diffstat (limited to 'compiler/rustc_interface/src/passes.rs')
| -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 0238d6a3947..d29656fedd5 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -1011,7 +1011,7 @@ fn run_required_analyses(tcx: TyCtxt<'_>) { // Prefetch this to prevent multiple threads from blocking on it later. // This is needed since the `hir_id_validator::check_crate` call above is not guaranteed // to use `hir_crate`. - tcx.ensure_done().hir_crate(()); + tcx.ensure_done().hir_crate_items(()); let sess = tcx.sess; sess.time("misc_checking_1", || { |
