-
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
ICE in named break from within proc #19331
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
|
Doesn't require a proc to ICE, any closure will do: fn foo(x: ||) {}
fn main() {
'outer: loop {
foo(|| {
loop {
break 'outer;
}
});
}
} |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Dec 30, 2014
lnicola
added a commit
to lnicola/rust
that referenced
this issue
Mar 10, 2025
minor: Sync from downstream
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code results in an ICE:
The text was updated successfully, but these errors were encountered: