rustdoc JSON: struct fn missing if re-exported from private mod #102583
Labels
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.
Step-by-step
repro.rs
:Run
rustdoc +nightly-2022-10-02 repro.rs -Zunstable-options -wjson
Check if
missing_from_rustdoc_json
is in the generated JSON:grep missing_from_rustdoc_json doc/repro.json
Actual result
Item is missing.
Expected result
Item is present.
Remarks
The item is present in the HTML version of the docs (
rustdoc +nightly-2022-10-02 repro.rs && open doc/repro/index.html
), or in the JSON ifprivate_mod
is madepub
.@rustbot labels +A-rustdoc-json +T-rustdoc +C-bug
The text was updated successfully, but these errors were encountered: