impl<S> Trait<Struct> for S {}
blanket impl shows up multiple times in docs for Struct
#81483
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
A-synthetic-impls
Area: Synthetic impls, used by rustdoc to document auto traits and traits with blanket impls
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried documenting this code with
cargo doc
:I expected to see this happen: The
impl<S> Trait<Struct> for S {}
blanket impl appears only once in the docs forStruct
Instead, this happened: The blanket impl appears 23 times.
Picture of the blanket impls in the docs for `Struct`
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: