Skip to content

fix: Support named consts in range pattern types#22396

Open
ChayimFriedman2 wants to merge 1 commit into
rust-lang:masterfrom
ChayimFriedman2:pat-ty-const
Open

fix: Support named consts in range pattern types#22396
ChayimFriedman2 wants to merge 1 commit into
rust-lang:masterfrom
ChayimFriedman2:pat-ty-const

Conversation

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

Fixes #22395. #22368 is not on prerelease yet, but even with it this issue is not fixed, because Vec's capacity field uses a range pattern type with constant.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 17, 2026
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Size/align for structs containing Vec no longer shown

2 participants