-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
There's an attribute you can apply to your crate, #![doc(html_no_source)]
, that tells rustdoc to not generate [src]
links or their corresponding files for that crate. However, if a dependency of this crate doesn't add this attribute, and then re-exports something from that crate, it will happily generate [src]
links... to nonexistent pages. We should probably track this flag on a per-crate basis for all dependencies, rather than only looking for it in the active crate.
dzmitry-lahoda
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.