Skip to content

[rustdoc] --generate-link-to-definition option doesn't work anymore on proc-macro attributes #147820

@GuillaumeGomez

Description

@GuillaumeGomez

For example in this code:

#[derive(Debug, PartialEq)]
pub struct X;

Debug links to fmt::Result and PartialEq to bool.

I think the regression comes from #135771.

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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions