Closed
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