[rustdoc] Inconsistency re-exporting items without #[doc(hidden)] from private modules #137979
Labels
A-local-reexports
Area: Documentation that has been locally re-exported (i.e., non-cross-crate)
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.
Description
As discussion in #137342 , After hide the item whose source is hidden,
I experimented with different cases and I found another inconsistency, No.7. I think we should hide the case in No.7 for consistency? If someone wants to inline it, just use
#[doc(inline)]
.In the meantime, the documentation needs to be updated to be more clear.
cc @GuillaumeGomez @lolbinarycat
Source code
No1
No2
No3
No4
No5
No6
No7
No8
The text was updated successfully, but these errors were encountered: