mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 22:53:54 +00:00
Rustdoc-Json: Don't loose subitems of foreign traits. Previously, we'd clone the index, and extend it with foreign traits. But when doing this, traits would render their subitems without them going into the index being used in the output leading to dangling ID's. r? `@GuillaumeGomez`
For more information about how librustdoc works, see the rustc dev guide.