Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Parse patterns with leading pipe properly in all places #18453

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

ChayimFriedman2
Copy link
Contributor

Thanks to #18419 this even simplifies the code.

Fixes #18452.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 31, 2024
@Veykril Veykril added this pull request to the merge queue Oct 31, 2024
Merged via the queue into rust-lang:master with commit 0ba893e Oct 31, 2024
9 checks passed
@Robbepop
Copy link
Contributor

@ChayimFriedman2 wow thanks for the fast fix! 🚀

@ChayimFriedman2 ChayimFriedman2 deleted the leading-or branch October 31, 2024 15:41
@lnicola lnicola changed the title Parse patterns with leading pipe properly in all places fix: Parse patterns with leading pipe properly in all places Oct 31, 2024
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.

bug: expected pattern when pattern starts with | inside destructured struct
4 participants