Rustdoc-Json: Synthesized foreign traits don't have docs #105022
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
When synthesizing foreign traits, we don't recover the docs (among other things)
rust/src/librustdoc/json/mod.rs
Lines 118 to 141 in 8a09420
Meaning that for code:
Produces
Where the docs for
20:3:1567
are null.Either foreign trait syntesis should be done correctly, or not at all, and let users resolve via
paths
@rustbot modify labels: +A-rustdoc-json +T-rustdoc
The text was updated successfully, but these errors were encountered: