Open
Description
With the code
mod native {
extern "C" {
/// bar.
pub fn bar();
}
}
/// foo
pub use native::bar;
I expected to have the documentation in the private module and the re-export to be combined
Instead, only the documentation in the private module in shown
Meta
rustdoc --version --verbose
:
rustdoc 1.86.0-nightly (3f43b1a63 2025-01-03)
binary: rustdoc
commit-hash: 3f43b1a636738f41c48df073c5bcb97a97bf8459
commit-date: 2025-01-03
host: x86_64-unknown-linux-gnu
release: 1.86.0-nightly
LLVM version: 19.1.6
Activity
rustdoc: add regression test for rust-lang#135092