Module items not in scoped for module comment //! when module has /// comment #134904
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.
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Not very clear how //! in top of module or /// before 'mod' declaration works and what difference. I found one big difference when doing /// then in rest of //! at top of module, module items are not in the scoped.
I understand it's normal module importer doesnt ahve module items in scoped by default. But its not normal that module itself doesnt have items in the scoped.
Smallest reproduction case: https://github.com/xmppftw/rustrepro/tree/issue-134904
The text was updated successfully, but these errors were encountered: