diff options
| author | bors <bors@rust-lang.org> | 2025-06-10 23:54:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-06-10 23:54:45 +0000 |
| commit | 1c047506f94cd2d05228eb992b0a6bbed1942349 (patch) | |
| tree | 7f0b73f2eae9b6792a19bf5fdde9d5433d6d79b8 /compiler/rustc_interface/src | |
| parent | 1677d46cb128cc8f285dbd32b0dc4d7a46437050 (diff) | |
| parent | 7f4093e78bbddae798e3eaf4d713da75c6315877 (diff) | |
| download | rust-1c047506f94cd2d05228eb992b0a6bbed1942349.tar.gz rust-1c047506f94cd2d05228eb992b0a6bbed1942349.zip | |
Auto merge of #141883 - oli-obk:remove-check-mod-loops, r=nnethercote
Remove check_mod_loops query and run the checks per-body instead This analysis is older than my first rustc contribution I believe. It was never querified. Ideally we'd merge it into the analysis happening within typeck anyway (typeck just uses span_delayed_bug instead of erroring), but I didn't want to do that within this PR that also moves things around and subtly changes diagnostic ordering.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/passes.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs index 2643e5c1926..99520a3fea3 100644 --- a/compiler/rustc_interface/src/passes.rs +++ b/compiler/rustc_interface/src/passes.rs @@ -954,7 +954,6 @@ fn run_required_analyses(tcx: TyCtxt<'_>) { tcx.ensure_ok().exportable_items(LOCAL_CRATE); tcx.ensure_ok().stable_order_of_exportable_impls(LOCAL_CRATE); tcx.par_hir_for_each_module(|module| { - tcx.ensure_ok().check_mod_loops(module); tcx.ensure_ok().check_mod_attrs(module); tcx.ensure_ok().check_mod_unstable_api_usage(module); }); |
