Skip to content

fix ICE on unnecessary_rest_pattern for TyAlias - #17557

Merged
dswij merged 1 commit into
rust-lang:masterfrom
dswij:issue-17546
Aug 14, 2026
Merged

dswij merged 1 commit into
rust-lang:masterfrom
dswij:issue-17546

Conversation

@dswij

@dswij dswij commented Aug 13, 2026

Copy link
Copy Markdown
Member

Closes #17546

changelog:[unnecessary_rest_pattern]: fix ICE when destructuring TyAlias

@rustbot

rustbot commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request. A reviewer will take a look after it receives 2 community reviews.

In the meantime, we would highly appreciate if you could try to review any of PRs waiting on community reviews.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot rustbot added S-waiting-on-community-reviews Status: This is awaiting for positive reviews from the community before a maintainer is assigned. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Aug 13, 2026
@github-actions

Copy link
Copy Markdown

Lintcheck changes for e16c281

Lint Added Removed Changed
clippy::rest_pattern_accessible_field 4 0 1

This comment will be updated if you push new changes

@dswij
dswij added this pull request to the merge queue Aug 14, 2026
Merged via the queue into rust-lang:master with commit 5682b1b Aug 14, 2026
11 checks passed
@rustbot rustbot removed S-waiting-on-community-reviews Status: This is awaiting for positive reviews from the community before a maintainer is assigned. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Aug 14, 2026
@dswij
dswij deleted the issue-17546 branch August 14, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ICE variant_index_with_id: unknown variant

3 participants