-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
rustdoc: private module appears when overriding glob re-export #60926
Copy link
Copy link
Closed
Labels
A-visibilityArea: Visibility / privacyArea: Visibility / privacyC-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-visibilityArea: Visibility / privacyArea: Visibility / privacyC-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Consider this code in a crate's lib.rs:
The generated documentation will show the
m2module at the crate root, though nothing will show up inside them2module page. Them2module is private to outside crates, so I don't think it should be showing up at all.Meta
rustc --version --verbose:rustc 1.36.0-nightly (7d5aa43 2019-05-16)
binary: rustc
commit-hash: 7d5aa43
commit-date: 2019-05-16
host: x86_64-pc-windows-msvc
release: 1.36.0-nightly
LLVM version: 8.0