Skip to content

Doc links containing generic parameters aren't resolved #16699

Closed
@SludgePhD

Description

@SludgePhD

rust-analyzer version: 0.3.1860-standalone

rustc version: current stable, but shouldn't matter much

code snippet to reproduce:

//! [`Vec`] and [`Vec<T>`].

Here, Vec gets highlighted and resolved correctly, but Vec<T> does not, even though rustdoc accepts it without warnings and turns both into links to the same page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-doc-commentsdoc string related issuesC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions