rustdoc-json: impl dyn Trait
gets discarded
#133719
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
A-trait-objects
Area: trait objects, vtable layout
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
For the following code:
generates
(full).
There's nothing included for the
number_plus_one
method, but there should be.The HTML backend get this right, so the releavent info is availible in
clean
:I'm not sure what's the best way to store this is in the format: Putting it into the
implementations
field seems wrong, asimpl dyn T1
isn't an implementation ofT1
, but an implementation ondyn T1
. I'd love to hear people's thoughts on this.The text was updated successfully, but these errors were encountered: