LocalDefId <-> HirId conversion functions may not be incremental safe #85914
Labels
A-HIR
Area: The high-level intermediate representation (HIR)
A-incr-comp
Area: Incremental compilation
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:
The text was updated successfully, but these errors were encountered: