intra-doc-resolution fails to link in re-exported types that don't match original module structure #60883
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.
Given a base crate
and a crate that uses that and re-exports types from it in a different structure
The links in the re-exported types only work when the module structure matches between the two crates (in this case for
Baz
but not forBar
)Rustdoc correctly warns that it can't resolve the link, but this seems like a primary usecase of the feature to allow facade crates to have correctly linked docs when they rearrange types from underlying crates.
The text was updated successfully, but these errors were encountered: