Skip to content

Incorrect span for path in 'use' items #11317

Closed
@nrc

Description

@nrc

For 'use' items of the form |use foo = bar::baz| the path in view_path_simple has incorrect span information (I think). It has the span for the whole item, rather than just the path part (e.g,, the span for |use foo = bar::baz| rather than |bar::baz|.

[I don't see how to assign this to myself, but I have a patch which I will make into a PR soon]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions