Skip to content

fix: Do not assume array destructuring assignments with rest pattern are constant-sized - #22483

Merged
Veykril merged 1 commit into
rust-lang:masterfrom
ChayimFriedman2:destructuring-assignment-array-rest
Jul 17, 2026
Merged

fix: Do not assume array destructuring assignments with rest pattern are constant-sized#22483
Veykril merged 1 commit into
rust-lang:masterfrom
ChayimFriedman2:destructuring-assignment-array-rest

Conversation

@ChayimFriedman2

Copy link
Copy Markdown
Contributor

We used to set a slice: None.

…onstant-sized

We used to set a `slice: None`.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 28, 2026
@studyingegret

studyingegret commented Jul 16, 2026

Copy link
Copy Markdown

@ChayimFriedman2

Copy link
Copy Markdown
Contributor Author

The current test is fine.

@Veykril
Veykril added this pull request to the merge queue Jul 17, 2026
Merged via the queue into rust-lang:master with commit 1649637 Jul 17, 2026
18 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 17, 2026
@ChayimFriedman2
ChayimFriedman2 deleted the destructuring-assignment-array-rest branch July 17, 2026 08:26
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.

4 participants