rustdoc should hide private members in a const definition #32735
Labels
C-bug
Category: This is a bug.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Here,
time::UNIX_EPOCH
refers to a constant inlibstd/sys/{unix,windows}/time.rs
(depending on the compile config) and should not be exposed. Its type is platform-specific, and private, too.Cf. the
SystemTime
type is displayed asThe text was updated successfully, but these errors were encountered: