Open
Description
I tried this code:
cargo +nightly doc --open -p diesel --no-deps
Search for diesel::dsl::Eq
afterwards to get to this page
I expected to see this happen: Rustdoc hides the aliased type + tuple field sections as the Grouped
by type is not exposed as part of the public API. (That type is in a crate local module)
Instead, this happened: Rustdoc shows information about private types.
Meta
rustdoc --version --verbose
:
rustdoc 1.89.0-nightly (59aa1e873 2025-06-03)
binary: rustdoc
commit-hash: 59aa1e873028948faaf8b97e5e02d4db340ad7b1
commit-date: 2025-06-03
host: x86_64-unknown-linux-gnu
release: 1.89.0-nightly
LLVM version: 20.1.5
Metadata
Metadata
Assignees
Labels
Area: Documentation that has been locally re-exported (i.e., non-cross-crate)Area: Visibility / privacyCategory: This is a bug.Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleRelevant to the rustdoc team, which will review and decide on the PR/issue.