mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 11:36:26 +00:00
Try to cache region_scope_tree as a query This PR will attempt to restore `region_scope_tree` as a query so that caching works again. It seems that `region_scope_tree` could be re-computed for nested items after all, which could explain the performance regression introduced by #95563. cc `@Mark-Simulacrum` `@pnkfelix` I will try to trigger a perf run here.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.