-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE when coercing certain closures (with discarded arguments) to fn #40204
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
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. |
Uh oh!
There was an error while loading. Please reload this page.
To replicate:
ICE details:
ref #40025
The text was updated successfully, but these errors were encountered: