Rollup merge of #101770 - aDotInTheVoid:rdj-index-clone, r=GuillaumeGomez

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`
This commit is contained in:
Matthias Krüger 2022-09-13 22:25:39 +02:00 committed by GitHub
commit d373f764b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

Diff content is not available