-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.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.
Description
When a private child module defines an enum and pub-uses its variants, and the parent module re-exports the content of the child module:
mod foo {
pub enum Foo {
Bar,
}
pub use self::Foo::*;
}
pub use self::foo::*;
it is not visible in the documentation of the parent module that the variants of the enum are directly accessible to the user. However, if the child module was public, the pub-use of the variants would be shown on the pages of both modules.
Regards,
Ivan
Metadata
Metadata
Assignees
Labels
T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.Relevant to the dev-tools subteam, which will review and decide on the PR/issue.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.