-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendA-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcT-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
If the json output has duplicated IDs in a list, like
"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"
},
Then jsondoclint should probably catch this, as it indicates a bug.
Originally posted by @aDotInTheVoid in #107766 (comment)
Metadata
Metadata
Assignees
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendA-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcT-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.