-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[WIP] Lint self-overlapping or-patterns under guard #143541
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
base: master
Are you sure you want to change the base?
[WIP] Lint self-overlapping or-patterns under guard #143541
Conversation
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors try |
…, r=<try> [WIP] Lint self-overlapping or-patterns under guard This adds an error on or-patterns under match guard that may cause the guard to be run more than once, such as `true | true if f()`. This is for crater purposes. r? ghost
💔 Test failed - checks-actions |
The job Click to see the possible cause of the failure (guessed by this bot)
|
does the try job have to succeed for crater? @craterbot check |
🚨 Error: missing start toolchain 🆘 If you have any trouble with Crater please ask in t-infra on Zulip |
☔ The latest upstream changes (presumably #143472) made this pull request unmergeable. Please resolve the merge conflicts. |
This adds an error on or-patterns under match guard that may cause the guard to be run more than once, such as
true | true if f()
. This is for crater purposes.r? ghost