Rustdoc-Json: link
may be set to the ID of the item containing the link target
#101531
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
A-rustdoc-json
Area: Rustdoc JSON backend
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
link
field contains wrong IDs for some kind of items.Items for which no independent HTML is generated (link target URL is
<parent_kind>.<parent_name>.html#<kind>.<name>
) appear to have incorrect IDs.I tried this code:
I expected to see this happen:
links
contains the IDs of link targetsInstead, this happened:
link
contains the ID of the items containing the link targetsMeta
rustdoc +nightly --version --verbose
:The text was updated successfully, but these errors were encountered: