rustdoc: link from a private item to a private item in a different module #97310
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Hi,
First of all, thanks a lot for working on Rust and the related projects!
If I'm reading https://rust-lang.github.io/rfcs/1946-intra-rustdoc-links.html#links-to-private-items correctly, then the documentation of a private item should be able to link to the documentation of another private item. This works if both items are in the same module, but for the (somewhat convoluted) code that I've put up in a GitLab repository it seems to fail: rustdoc cannot generate a link to the process::State structure when documenting the defs::do_clean() function.
The current output is:
FWIW, this happens with Rust 1.61.0:
Thanks again, and keep up the great work!
The text was updated successfully, but these errors were encountered: