The issue
The id for i32 in the JSON documentation generated for core is 0:79316:78663.
It appears in the path:
"0:79316:78663": {
"crate_id":0,
"path":["core","i32"],
"kind":"primitive"
}
but it is not present in the index, although it's referenced in the links section for many other items.
The same happens to the other primitives I checked - e.g. i64 (0:79317:78665) or char (0:79294:78252).
How to reproduce
Add the rust-docs-json component to your nightly toolchain, using
rustup component add rust-docs-json --toolchain nightly
You can then inspect core.json in .rustup/toolchains/nightly-<platform-triplet>/share/doc/rust/json/core.json
The issue
The id for
i32in the JSON documentation generated forcoreis0:79316:78663.It appears in the
path:but it is not present in the
index, although it's referenced in thelinkssection for many other items.The same happens to the other primitives I checked - e.g.
i64(0:79317:78665) orchar(0:79294:78252).How to reproduce
Add the
rust-docs-jsoncomponent to yournightlytoolchain, usingYou can then inspect
core.jsonin.rustup/toolchains/nightly-<platform-triplet>/share/doc/rust/json/core.json