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: Put leading | in patterns under OrPat #18419

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

ChayimFriedman2
Copy link
Contributor

Previously it was one level above, and that caused problems with macros that expand to it, because macros expect to get only one top-level node.

Fixes #18333.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 27, 2024
Previously it was one level above, and that caused problems with macros that expand to it, because macros expect to get only one top-level node.
@Veykril Veykril enabled auto-merge October 27, 2024 11:23
@Veykril Veykril added this pull request to the merge queue Oct 27, 2024
Merged via the queue into rust-lang:master with commit 3b3a87f Oct 27, 2024
9 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the leading-or branch October 27, 2024 12:12
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.

Error when macro contains a pattern with the first optional "or" operator
3 participants