-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-HIRArea: The high-level intermediate representation (HIR)Area: The high-level intermediate representation (HIR)A-incr-compArea: Incremental compilationArea: Incremental compilation
Description
The conversion between LocalDefId and HirId relies on mappings that are built during AST->HIR lowering. Those mappings are not tracked anywhere. As a consequence, a node could see its HirId change without notice: for instance a closure above which an extra statement is inserted.
The consequences of this untracked data access are not clear at the moment:
- are there queries whose result store an HirId?
- do HirId really change without notice?
Metadata
Metadata
Assignees
Labels
A-HIRArea: The high-level intermediate representation (HIR)Area: The high-level intermediate representation (HIR)A-incr-compArea: Incremental compilationArea: Incremental compilation