ICE with rustdoc JSON backend and duplicated exports #89834
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Hi there --
Looks like the rustdoc json output seems to have an issue with duplicated exports. I hit this issue with https://docs.rs/ansi_term/0.12.1/ansi_term/index.html, which exports both
Color
andColour
as the same type.Code
Minimized example:
Reproduces with the following command:
Meta
rustc --version --verbose
:Error output
Backtrace
I spent a little time looking at this, and it looks like changing
mod inner
topub mod inner
also fails withjsondocck
:so it's likely that the handling of duplicate public re-exports is also broken.
The text was updated successfully, but these errors were encountered: