Rustdoc can't create link to trait implementation with generics ([link](#impl-Trait-for-Type<G1, G2>)
)
#105600
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code: (bit modified, taken from https://github.com/StackOverflowExcept1on/simple-graph/blob/master/simple-graph/src/graph.rs)
I expected to see this happen: you can create link in rustdoc to

#impl-Trait-for-Type<Generic1, Generic2, Generic3, ...>
Instead, this happened: without manually URL-encoding rustdoc can't create link to trait implementation

Fast way to reproduce issue with rustdoc
git clone https://github.com/StackOverflowExcept1on/rustdoc-issue.git cd rustdoc-issue cargo doc firefox target/doc/rustdoc_issue/struct.Type.html
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: