-
Notifications
You must be signed in to change notification settings - Fork 13.3k
if- and while-let-chains, take 2 - edition changes #53854
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
With eRFC 2497, previously accepted ambigious syntax regarding use of `&&` and `||` in if-let and while-let statements should now warn or error depending on the edition. This commit takes a naive approach to detecting ambigious use of `&&` or `||` and will probably need fine tuned to handle all cases.
cc @Centril -- so do you feel there is no need for a crater run here, given @SergioBenitez's testing? |
@nikomatsakis afair @SergioBenitez's testing was some time ago, so if we have the time for crater (we do right?) it could still be better safe than sorry to do a crater run; but I would also add that I don't feel strongly either way. |
600d6ca
to
eb278a3
Compare
This comment has been minimized.
This comment has been minimized.
eb278a3
to
8c92cbe
Compare
Oops, forgot to update the test output. Thought I'd forgot something. 🤦♂️ |
@bors try |
⌛ Trying commit 8c92cbe with merge 51ff957df5095d92d1d3d4682207ee8b7ad408a8... |
☀️ Test successful - status-travis |
@craterbot run start=master#1c2e17f4e3a2070a7f703f51e29c1c388ef703b6 end=try#51ff957df5095d92d1d3d4682207ee8b7ad408a8 mode=check-only |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🎉 Experiment
|
The good news is that crater found zero real regressions :) |
@bors r+ |
📌 Commit 0a8cf67 has been approved by |
⌛ Testing commit 0a8cf67 with merge 748cca41f7fbcb0e018e05935b76172435189af6... |
💔 Test failed - status-appveyor |
@bors retry
Feels spurious. |
if- and while-let-chains, take 2 - edition changes Part of #53668. r? @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
Part of #53668.
r? @nikomatsakis