-
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
Nonsensical diagnostic when returning closure #89620
Comments
Note that these |
With the nightly only
|
CC @oli-obk, who has a couple of PRs in flight that will likely affect the output of this code. |
there may be an easy fix in old regionck, as we should be able to normalize the placeholder lifetime back to the higher kinded lifetime that it came from (even if just for diagnostics). But our efforts are probably better spent in fixing nll error once I get through all this. |
Current output:
|
Given the following code:
The current output is:
It seems like a bug that the "expected" and "found" types are the same.
The text was updated successfully, but these errors were encountered: