[rustdoc-json] Assertion error on reexporting item from private module with 2 names #83720
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.
It's unlear to me what the correct representation should be, as currently for items
pub use
d from a nonpub
mod
, we add the item to themod
it's being imported to, with the name it's imported under.FWIW, in HTML, 2 seperate pages are created, each with the same content.
Eg: https://docs.rs/ansi_term/0.12.1/ansi_term/enum.Color.html and https://docs.rs/ansi_term/0.12.1/ansi_term/enum.Color.html
(this uses the same diffing as #83718)
@rustbot modify labels: +A-rustdoc-json +T-rustdoc
The text was updated successfully, but these errors were encountered: