Skip to content

rustdoc: Tracking issue for generating links to definitions on source code pages #89095

@GuillaumeGomez

Description

@GuillaumeGomez

This is a tracking issue for generating links to definitions on source code pages.
The feature can be enabled by passing --generate-link-to-definition -Zunstable-options to a nightly rustdoc.

Note

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.

A tracking issue is however not meant for large scale discussion, questions, or bug reports.
Instead, open a dedicated issue for the specific matter or post in the #t-rustdoc Zulip channel.

Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.

Outstanding work

Steps

To go through stabilization, we will gradually enable it in different places:

Implementation history

FIXME: Likely missing some PRs.

Metadata

Metadata

Labels

A-link-to-definitionrustdoc --generate-link-to-definition nightly-only featureA-rustdoc-uiArea: Rustdoc UI (generated HTML)B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-impl-incompleteStatus: The implementation is incomplete.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