diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-06-03 20:19:44 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-03 20:19:44 +0800 |
| commit | 033b829e0a5b33f0b383a3711b7635a7464cd6fc (patch) | |
| tree | 6c3a4faecdcff30608e6efd6a41b3b5fcc900aa0 /compiler/rustc_interface/src | |
| parent | 10f2bcc95738423fbdf01ce3bb00e4092102c438 (diff) | |
| parent | b65ceb28e0cc639e3adc9d93b11ecc3228fac4c2 (diff) | |
| download | rust-033b829e0a5b33f0b383a3711b7635a7464cd6fc.tar.gz rust-033b829e0a5b33f0b383a3711b7635a7464cd6fc.zip | |
Merge pull request #2451 from jieyouxu/rustc-pull
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 4 | ||||
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 75d92ae7a2e..5bc7559d29a 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -1012,10 +1012,6 @@ fn run_required_analyses(tcx: TyCtxt<'_>) { { tcx.ensure_ok().mir_drops_elaborated_and_const_checked(def_id); } - }); - }); - sess.time("coroutine_obligations", || { - tcx.par_hir_body_owners(|def_id| { if tcx.is_coroutine(def_id.to_def_id()) { tcx.ensure_ok().mir_coroutine_witnesses(def_id); let _ = tcx.ensure_ok().check_coroutine_obligations( diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 068d96c860f..558f13a832c 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -715,6 +715,7 @@ fn test_unstable_options_tracking_hash() { untracked!(no_analysis, true); untracked!(no_leak_check, true); untracked!(no_parallel_backend, true); + untracked!(no_steal_thir, true); untracked!(parse_crate_root_only, true); // `pre_link_arg` is omitted because it just forwards to `pre_link_args`. untracked!(pre_link_args, vec![String::from("abc"), String::from("def")]); |
