-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
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
Metadata
Metadata
Assignees
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.