rustdoc should be able to reference libstd in intra-doc links in libcore #121436
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
This is something that came up in #112136.
Essentially, because we want to
#[doc(inline)]
theCString
type in its parent module, we actually can't use hard-coded relative links and must use intra-doc links. However, we also can't do intra-doc links in libcore that reference libstd.I think that especially since doc tests can reference libstd in libcore, we should also be able to intra-doc link libstd in libcore.
This also will probably enable us to get rid of the remaining hard-coded, non-intra-doc-links in libcore.
The text was updated successfully, but these errors were encountered: