Rustdoc is showing definitions of "private" types in type def documentation #142019
Labels
A-local-reexports
Area: Documentation that has been locally re-exported (i.e., non-cross-crate)
A-visibility
Area: Visibility / privacy
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
diesel-rs/diesel@116e868
Search for
diesel::dsl::Eq
afterwards to get to this pageI 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
:The text was updated successfully, but these errors were encountered: