Closed
Description
The current NodeId
design is hostile to incremental compilation because a change anywhere in the HIR affects numbering everywhere (particularly when desugarings are taken into account). @michaelwoerister encountered problems with metadata hashing being very unstable as a result; it also makes loading/unloading more painful.
At the compiler design sprint, @michaelwoerister and @eddyb hatched a plan to make all NodeId
usage in the HIR be replaced with "local ids", that are relative to an enclosing item (or something like that). I'll let them describe it here.