Debuginfo type names for dyn
types are incomplete
#86134
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The current implementation does not handle associated type bindings and auto-traits which leads to information about the type being lost. For example,
&dyn Iterator<Item=u32> + Send
will be mapped to&dyn Iterator
and&dyn Send + Sync
will be mapped to& dyn '_
.Some consumers of debuginfo (e.g. NatVis) rely on these type names to be unambiguous identifiers of the type they represent so we must not lose information about assoc type bindings and auto-traits.
The text was updated successfully, but these errors were encountered: