-
Notifications
You must be signed in to change notification settings - Fork 13k
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
nightly ICEs on invalid code with break outside of loop #43162
Comments
This is present in 1.19.0-beta.3 as well, here is the backtrace:
|
Bisecting using Bisecting after I've annotated the test case with |
I'm curios… do you think keeping |
this is gold |
I love rust:fn main() {
|
Please never delete this feature. By far the most fun ICE I have encountered :3 |
--> src/main.rs:2:11 error[E0268]: error: internal compiler error: It looks like you're trying to break rust; would you like some ICE? thread 'rustc' panicked at compiler/rustc_hir_typeck/src/lib.rs:503:10: |
I just discovered this in a GitHub blog post, this is gold. Please never remove this feature. This brought such a huge smile to my face. :) |
The text was updated successfully, but these errors were encountered: