rustc docs: Re-exported types' implementations are lost #88758
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
A-cross-crate-reexports
Area: Documentation that has been re-exported from a different crate
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
C-bug
Category: This is a bug.
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, 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.
For example,
ObligationCause
is defined inrustc_middle
, and its docs look like this:But it is also re-exported by
rustc_trait_selection
, where its inherent and trait implementations don't appear in the docs:This regressed in 1.47.0 (look at
/1.46.0/nightly-rustc
vs/1.47.0/nightly-rustc
to compare). That is also the release when therustc_private
warning stopped showing up in the docs, so I wonder if the two changes are connected somehow. Furthermore, I have never witnessed this bug outside of the rustc docs, which makes me even more suspicious that something aboutrustc_private
or rustbuild is causing this.The text was updated successfully, but these errors were encountered: