Closed
Description
Looking at the output (of `tests/rustdoc-json/reexport/same_name_different_types.rs`), for some reason it's duplicating ID's in the output:
"index": {
"0:0:1588": {
"crate_id": 0,
"docs": null,
"id": "0:0:1588",
"inner": {
"is_crate": true,
"is_stripped": false,
"items": [
"0:1:1582",
"0:4-0:2:1584",
"0:4-0:3:1584",
"0:4-0:2:1584",
"0:4-0:3:1584",
"0:5-0:2:1584",
"0:5-0:3:1584",
"0:5-0:2:1584",
"0:5-0:3:1584"
]
},
"kind": "module",
"name": "same_name_different_types"
},
I'm not really sure whats causing this, but idealy it wouldn't happen, although I'd be willing to merge as is, as long as an issue gets created to follow up.
(Also, jsondoclint should probably catch this)
Originally posted by @aDotInTheVoid in #107766 (comment)
CC: #108163