rustdoc-json: Invalid output for function returning public item from private module #96161
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Produces (redacted for clairty, full here)
Where
0:2
is a danglingId
.This fails
check_missing_items.py
with outputType contained an invalid ID: 0:2
IMO the best way would be to include these "Hidden" items, as the items they have can still be called, even if their is no publicly visable way to write their type.
(eg)
This would also improve the HTML, which currently doesnt give links to such items. However it's unclear how to document such an item that doesn't appear in a path.
cc @CraftSpider
@rustbot modify labels: +T-rustdoc +A-rustdoc-json
The text was updated successfully, but these errors were encountered: