Closed
Description
#63337 (comment) introduces suggestions when encountering break
without a value in a context that expects a value other than ()
. In the case that the expected value is !
we don't suggest anything. Once !
is stabilized, we should look at the actual usage and see if there's any sane situation where we would like to suggest something like break loop {}
.
CC @Centril