| commit | a6b6060d7272ec276c4657236437b421462bf13c | [log] [tgz] |
|---|---|---|
| author | bors <bors@rust-lang.org> | Fri Oct 17 21:01:25 2025 +0000 |
| committer | bors <bors@rust-lang.org> | Fri Oct 17 21:01:25 2025 +0000 |
| tree | 0d5289e130c17ce1e42d164e825ca543abe3c812 | |
| parent | 1a2e9bca1da4221c71e91b4c4f115d0581ad2e90 [diff] | |
| parent | d35e059820cdd3c486e7218ef28b0e5ae85e2ad0 [diff] |
Auto merge of #142540 - cjgillot:renumber-cfg, r=fee1-dead Pre-compute MIR CFG caches for borrowck and other analyses I was puzzled that https://github.com/rust-lang/rust/pull/142390 introduces additional computations of CFG traversals: borrowck computes them, right? It turns out that borrowck clones the MIR body, so doesn't share its cache with other analyses. This PR: - forces the computation of all caches in `mir_promoted` query; - modifies region renumbering to avoid dropping that cache.