HIR printing: Assign stable address to pointers when first seen
This gives output stability while still showing address equality and
inequality.
This mapping mechanism is only turned on for FunctionPrinter, so
implementation of Display and Debug can share the same code but not go
through the mapping process. Outside of cfg!(test) we don't want
and need to stabilize the addresses.
HIR printing: Assign stable address to pointers when first seen
This gives output stability while still showing address equality and
inequality.
This mapping mechanism is only turned on for FunctionPrinter, so
implementation of Display and Debug can share the same code but not go
through the mapping process. Outside of
cfg!(test)
we don't wantand need to stabilize the addresses.