"Automatically" implemented traits do not display implementors (or as implemented traits) in rustdoc #89533
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
We have a bunch of traits that are normal traits but implemented automatically for a bunch of stuff.
std::ptr::Pointee
,std::marker::DiscriminantKind
and soonstd::enums::AsRepr
(#89507).rustdoc
generated documentation fails to account for those and does not populate the trait's Implementors section: https://doc.rust-lang.org/stable/std/marker/trait.DiscriminantKind.html nor do the types that implement the trait present these traits in the implementations section (e.g. https://doc.rust-lang.org/stable/std/cmp/enum.Ordering.html#trait-implementations)The text was updated successfully, but these errors were encountered: