Repository navigation
mirth-lab rustdoc-diff (check 6): rustdoc consistency; findings 33-39 - #34
Merged
Merged
Conversation
…what it accepts, no ICE), its JSON holds together (reachable ids resolve), root re-exports appear, and auto-trait impls hold under the bounds shown (probes) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QXiEXbESemwqMLYKaWLDbT
…s about the auto trait; pass #![crate_type] as --crate-type (rustdoc does not read the attribute) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QXiEXbESemwqMLYKaWLDbT
…every edition; a probe compile with other errors gives no verdict; -Zparse-crate-root-only tests skipped; known rustdoc ICE #155728 labelled Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QXiEXbESemwqMLYKaWLDbT
… with facts and reduced tests; known classes labelled; big-run and docs Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QXiEXbESemwqMLYKaWLDbT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Check 6 of
docs/checks.md, rustdoc consistency. The new subcommand ismirth-lab rustdoc-diff.What it checks
For each standalone UI test, it runs rustdoc (nightly-2026-10-06, the same commit as the campaign rustc) next to
rustc --emit=metadata. rustdoc runs four ways: HTML, HTML with private items, JSON, and JSON with private items.indexnorpaths. These are the same rulessrc/tools/jsondoclintapplies.pub useis missing from the root module.Full sweep
docs/hunt/.use {{}};, which rustc accepts. A regression on nightly-2026-09-26; the range contains #161349.-Ccodegen-unitsis ignored, and-Zassumptions-on-binderswith-Znext-solver=nocauses an ICE.FIXME(generic_const_items)inclean_hir_term.These are labelled and not reported:
fn_delegationICE.unsafe_binderJSON FIXME.No re-export was missing, and no auto-trait impl was contradicted by its probe.
Also adds
rustdoc-difftorustc/big-run.shand documents how to run it.The finding numbers 33–39 may collide with other check branches opened at the same time. Renumber at merge if needed.
🤖 Generated with Claude Code
https://claude.ai/code/session_01QXiEXbESemwqMLYKaWLDbT