-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rustdoc json primitive handling #98195
Conversation
r? @notriddle (rust-highfive has picked a reviewer for you, use r? to override) |
I see that this stops it from crashing, but I don’t understand why the primitive type is being duplicated in the index. The existing comment only explains why blanket impls can be safely ignored, not why primitive docs can. If you can figure out what’s actually causing this, can you add a comment explaining it? |
The whole explanation is here. But what causes the conflict in here is that we document private items too. So the module and the primitive types have a same ID, generating the conflict. |
b8bf98b
to
7cdf126
Compare
Updated. |
@bors r+ |
📌 Commit 7cdf126 has been approved by |
Rollup of 5 pull requests Successful merges: - rust-lang#97803 (Impl Termination for Infallible and then make the Result impls of Termination more generic) - rust-lang#97828 (Allow configuring where artifacts are downloaded from) - rust-lang#98150 (Emscripten target: replace -g4 with -g, and -g3 with --profiling-funcs) - rust-lang#98195 (Fix rustdoc json primitive handling) - rust-lang#98205 (Remove a possible unnecessary assignment) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #98006.
cc @matthiaskrgr