Closed
Description
Currently we do not emit any debuginfo from the MIR translator.
It doesn’t seem like there should be many issues implementing support, other than DebugLoc
wanting a ast::NodeId
, which eventually gets passed down to trans::debuginfo::metadata::scope_metadata
.
Precondition to this work is to either decouple trans::debuginfo
and its DIScope-building-related functionality from the NodeId
or create a independent code for MIR’s use.