Open
Description
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
- maybe it's a bug?
- maybe it's bad to use /// and //! but i dont see this in rustdoc book or somewhere else