rustdoc prioritises documenting reexports from the type namespace #34843
Labels
C-bug
Category: This is a bug.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
If there's multiple items referred to by a reexport, rustdoc seems to only document the one in the type namespace.
The example
main.rs
below shows that resolve allows users to accesssync
in both capacities, so rustdoc should probably document both instances:Related issue (it's about globs): #31337 (comment)
An example in the wild:
mioco
had to rename itssync
function tooffload
due to it not appearing in the docs due to async
module.The text was updated successfully, but these errors were encountered: