Skip to content

Goto declaration on assoc items of trait implementation should go to the assoc item of the trait #13599

Closed
@Veykril

Description

@Veykril

Right now, goto definition goes to the assoc item of the trait impl while goto declaration does nothing. Usually declaration and definition are the same thing in rust, but in this case the trait assoc item feels like a decleration to me, and so I think for goto declaration we should actually go to the trait instead of the implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-idegeneral IDE featuresC-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions