-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 when coercing certain closures (with discarded arguments) to fn #40204
Comments
With current nightly this doesn't ICE any more, but gives an error:
Is this a problem? |
okay, but if you spell out the type annotations, the example compiles fine. Does that mean this bug is fixed? |
Okay, I've obtained a copy of the compiler that ICE'd and apparently it doesn't ICE when you spell out the type annotation. So I'd say the ICE is fixed, and only #41755 remains? |
With #41838 merged, this issue seems to be resolved. @nikomatsakis does this issue need a regression test or can it be closed? |
duplicate of #40000. |
To replicate:
ICE details:
ref #40025
The text was updated successfully, but these errors were encountered: