Skip to content

rustdoc: Avoid ICE on unevaluated type const projections in array lengths#158171

Open
lapla-cogito wants to merge 1 commit into
rust-lang:mainfrom
lapla-cogito:issue_158155
Open

rustdoc: Avoid ICE on unevaluated type const projections in array lengths#158171
lapla-cogito wants to merge 1 commit into
rust-lang:mainfrom
lapla-cogito:issue_158155

Conversation

@lapla-cogito

@lapla-cogito lapla-cogito commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

clean_middle_ty used normalize_erasing_regions when rendering array lengths, which panics on unevaluatable associated const projections such as <T as Trait>::ASSOC under mGCA.

Fixes #158155

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Jun 20, 2026
@rustbot

rustbot commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

r? @camelid

rustbot has assigned @camelid.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: rustdoc
  • rustdoc expanded to 8 candidates
  • Random selection from GuillaumeGomez, camelid, notriddle

@rust-log-analyzer

This comment has been minimized.

@lapla-cogito lapla-cogito force-pushed the issue_158155 branch 2 times, most recently from 4ef880e to c256212 Compare June 20, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ICE]: rustdoc: mgca: Failed to normalize Alias

4 participants