diff options
| author | bors <bors@rust-lang.org> | 2024-09-14 04:37:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-14 04:37:41 +0000 |
| commit | 4a47e8e449da0d4b8252483ecb831c842ff59aa2 (patch) | |
| tree | 0c16112225026083f05074245d01ade68977213f /compiler/rustc_interface/src | |
| parent | 23b04c0513472f3728ad482398008e077979e5c4 (diff) | |
| parent | 89dd3f91a8ac7a560bda4e1927131230ef96df17 (diff) | |
| download | rust-4a47e8e449da0d4b8252483ecb831c842ff59aa2.tar.gz rust-4a47e8e449da0d4b8252483ecb831c842ff59aa2.zip | |
Auto merge of #130332 - Zalathar:rollup-eq0qvvy, r=Zalathar
Rollup of 5 pull requests Successful merges: - #130138 (bootstrap: Print more debug info when `find_initial_libdir` fails) - #130199 (Don't call closure_by_move_body_def_id on FnOnce async closures in MIR validation) - #130302 (add llvm-bitcode-linker and llvm-tools bins to ci-rustc's sysroot) - #130306 (avoid updating LLVM submodule during bootstrap unit tests) - #130317 (`ProjectionElem` and `UnOp`/`BinOp` dont need to be `PartialOrd`/`Ord`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_interface/src')
| -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 c4a38047b5e..b93bc3ed84f 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -788,7 +788,7 @@ fn run_required_analyses(tcx: TyCtxt<'_>) { rustc_hir_analysis::check_crate(tcx); 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) { + 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); } }); |
