-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE with self region #5936
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-lifetimes
Area: Lifetimes / regions
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
This is probably a bug in the region inference code. |
sorry, the region parameterization inference. |
FWIW, I reproduced this (though I had to add a 'main' to get that far). Here's the result with backtrace:
|
Still ICEs. |
possible dupe of #6157. |
Probably a subbug of #4846. |
Testing on the latest master (dc48adc) After changing |
The code in the example now outputs.
closing. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-lifetimes
Area: Lifetimes / regions
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
only output:
The text was updated successfully, but these errors were encountered: