-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[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
[WIP] Lint self-overlapping or-patterns under guard #143541
Conversation
This comment has been minimized.
This comment has been minimized.
@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 |
This comment has been minimized.
This comment has been minimized.
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. |
c0fda28
to
cfd618d
Compare
I might revisit this later but I don't have time to continue that rn. |
The job Click to see the possible cause of the failure (guessed by this bot)
|
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