Closed
Description
I tried this code:
mod inner_mod {
/// docs from inner module
pub fn g() {}
}
/// docs from outer module
pub use inner_mod::g;
I expected to see this happen: The documentation is added, like it is for cross-crate re-exports:
/// Some docs from outer crate
pub use inner::f;
Instead, this happened: The documentation is ignored:
Meta
rustdoc --version
: rustdoc 1.53.0-nightly (392ba2b 2021-04-17)
Originally posted by @jsgf in #84597 (comment)