rustdoc: Structured suggestion for intra-doc links based on current crate name #84721
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Within a crate
xyz
, the link[`xyz::path::some_item`]
gives an error. This would be challenging to fix in the rustdoc resolver. However, we could provide a rustfix-applicable structured suggestion on the error, suggesting[`xyz::path::some_item`][`crate::path::some_item`]
.The text was updated successfully, but these errors were encountered: