Rustdoc does not show Into
implementations, only From
implementations
#39991
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.
This code:
Documents the implementation of
From
(presumably because it's implemented for a local type), but notInto
, (presumably because it's an implemented on a non-local type).In many cases, this is "OK" because we build the whole documentation and so we can see the implementors of a trait. This doesn't work when the trait is in the standard library, which doesn't regenerate docs with
cargo doc
.I'm sure this is a duplicate issue, I just haven't found it yet. This can serve as a signpost when we do!
/cc #33417, which will encourage more cases of implementing a trait we don't own parameterized with a type we do own for a type we don't own.
The text was updated successfully, but these errors were encountered: