Skip to content

fix ICE: rustdoc: const parameter types cannot be generic #149288 - #149334

Merged
bors merged 2 commits into
rust-lang:mainfrom
asukaminato0721:149288
Nov 27, 2025
Merged

fix ICE: rustdoc: const parameter types cannot be generic #149288#149334
bors merged 2 commits into
rust-lang:mainfrom
asukaminato0721:149288

Conversation

@asukaminato0721

@asukaminato0721asukaminato0721 commented Nov 25, 2025

Copy link
Copy Markdown
Contributor

fix#149288

Applied the patch.

@rustbotrustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Nov 25, 2025
@fmease

fmease commented Nov 25, 2025

Copy link
Copy Markdown
Member

Thanks! Could you please add a regression test? A UI test in tests/rustdoc-ui/ would be sufficient but an HTML test in tests/rustdoc/ would be even better! :)

@rustbotrustbot added the T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. label Nov 26, 2025
@asukaminato0721
asukaminato0721 marked this pull request as ready for review November 26, 2025 07:33
@rustbotrustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 26, 2025
@rustbotrustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 26, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

r? @notriddle

rustbot has assigned @notriddle.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@notriddle

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Nov 27, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 171c77e has been approved by notriddle

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 27, 2025
bors added a commit that referenced this pull request Nov 27, 2025
Rollup of 6 pull requests
Successful merges:
- #148256 (remove support for `typeof`)
- #148589 (Rename `DropGuard::into_inner` to `DropGuard::dismiss`)
- #149001 (Fix false positive of "multiple different versions of crate X in the dependency graph")
- #149334 (fix ICE: rustdoc: const parameter types cannot be generic #149288)
- #149345 (Deeply normalize param env in `compare_impl_item` if using the next solver)
- #149367 (Tidying up UI tests [4/N])
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 9320a7d into rust-lang:mainNov 27, 2025
11 checks passed
@rustbotrustbot added this to the 1.93.0 milestone Nov 27, 2025
rust-timer added a commit that referenced this pull request Nov 27, 2025
Rollup merge of #149334 - asukaminato0721:149288, r=notriddle
fix ICE: rustdoc: const parameter types cannot be generic #149288fix#149288
Applied the patch.
@asukaminato0721
asukaminato0721 deleted the 149288 branch November 27, 2025 19:25
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Aug 17, 2026
Rollup of 6 pull requests
Successful merges:
- rust-lang/rust#148256 (remove support for `typeof`)
- rust-lang/rust#148589 (Rename `DropGuard::into_inner` to `DropGuard::dismiss`)
- rust-lang/rust#149001 (Fix false positive of "multiple different versions of crate X in the dependency graph")
- rust-lang/rust#149334 (fix ICE: rustdoc: const parameter types cannot be generic rust-lang/rust#149288)
- rust-lang/rust#149345 (Deeply normalize param env in `compare_impl_item` if using the next solver)
- rust-lang/rust#149367 (Tidying up UI tests [4/N])
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ICE: rustdoc: const parameter types cannot be generic

5 participants

@asukaminato0721@fmease@rustbot@notriddle@bors