-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Fixes #79357 unstable or-pat suggestions #79364
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
bc5362e
to
e8618cf
Compare
cc @petrochenkov ? |
I guess if #79278 lands in the same cycle as this PR, this one would get undone, unless we backport this PR to beta... |
I wouldn't expect a diagnostics change to be worth backporting (But I don't know what the policy is, if there is one) Should this one be left open until near the end of the cycle, and only merged if or patterns don't get stabilized? (And closed if so) |
@nico-abram I actually don't know. It looks like a pretty harmless PR to backport, and it improves UX, so maybe it could be backported. If it's not backported, I guess the plan you outlined makes sense. |
I wouldn't expect this to be backported since this diagnostic has suggested or-patterns for several releases, and it's not even an incorrect suggestion – it is just invalid on stable. |
502ae2b
to
2b0bd99
Compare
2b0bd99
to
de3a0bd
Compare
@bors r+ |
📌 Commit de3a0bd has been approved by |
☀️ Test successful - checks-actions |
You beat me after all :P |
Fixes #79357