Skip to content

Debuginfo type names for dyn types are incomplete #86134

Closed
@michaelwoerister

Description

@michaelwoerister

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions