Files
rust/compiler
Dylan DPC 825d28057e Rollup merge of #97913 - dingxiangfei2009:wrap-into-local-var-id, r=nikomatsakis
Wrap `HirId`s of locals into `LocalVarId`s for THIR nodes

This is the first effort to decouple `HirId`s from THIR. `HirId` is not very relevant in building THIR and MIR.

Based on the changeset, I think there are a few other pending refactoring that we could perform after this, in case we want to eliminate use of `HirId` in THIR.
- `TypeckResults::closure_min_captures` could be remapped from the variable `HirId`s to `LocalVarId` while the THIR is getting built.
- Use of `ScopeTree::var_scope` could be eliminated as well, since we will consider deprecating `ScopeTree` in the future.
2022-06-11 12:59:28 +02:00
..
2022-06-03 17:16:41 -04:00
2022-06-10 08:35:03 +10:00
2022-06-02 11:22:16 +10:00
2022-06-03 17:16:41 -04:00
2022-06-10 08:35:03 +10:00
2022-06-03 17:16:41 -04:00
2022-06-10 11:58:29 +10:00
2022-06-08 09:24:03 +10:00
2022-05-26 13:14:24 +02:00
2022-06-08 09:24:03 +10:00
2022-06-03 17:16:41 -04:00
2022-06-08 09:24:03 +10:00
2022-06-10 11:58:29 +10:00
2022-06-10 11:58:29 +10:00
2022-06-03 17:16:41 -04:00
2022-06-10 11:58:29 +10:00
2022-06-03 17:16:41 -04:00
2022-06-08 09:24:03 +10:00
2022-06-10 08:35:03 +10:00