-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
A-local-reexportsArea: Documentation that has been locally re-exported (i.e., non-cross-crate)Area: Documentation that has been locally re-exported (i.e., non-cross-crate)C-bugCategory: This is a bug.Category: This is a bug.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
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
Metadata
Metadata
Assignees
Labels
A-local-reexportsArea: Documentation that has been locally re-exported (i.e., non-cross-crate)Area: Documentation that has been locally re-exported (i.e., non-cross-crate)C-bugCategory: This is a bug.Category: This is a bug.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.