Skip to content

[rustdoc] link to definition doesn't generate link to item's doc when clicking on its name #158050

Description

@GuillaumeGomez

When clicking on the enum's name, it should move us to the documentation page, not just to the current item definition: https://doc.rust-lang.org/nightly/nightly-rustc/src/rustc_hir/hir.rs.html#3891-3939

I suspect --document-private being the issue here.

Metadata

Metadata

Labels

A-link-to-definitionrustdoc --generate-link-to-definition nightly-only featureC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions