-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Type-check break value;
even outside of loop {}
.
#43745
Conversation
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
(The |
I don't think the type-checker of a production compiler is a good place for easter eggs. (For comparison, Python has |
@zachreizner Not saying the feature should stay ( |
Generally r=me, but we need signoff from @aturon for all new features. |
I think we could also go with signoff from our release manager, @brson |
@bors: r+ for as long as we can get away with it |
📌 Commit 3cb23a7 has been approved by |
This is awesome. I'll wait for the first nightly that includes this and pin all my projects to it! |
Does this only work outside of loops? Or is it a breaking change? |
☀️ Test successful - status-appveyor, status-travis |
Fix #43162, fix #43727.