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.