-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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(async_await,futures_api,await_macro,generators): cannot relate bound region: ReLateBound(DebruijnIndex(1), BrAnon(2)) <= '_#1r #57084
Comments
I experience a similar ICE, see https://github.com/maghoff/pixu.rs/tree/internal-compiler-error, particularly https://github.com/maghoff/pixu.rs/blob/internal-compiler-error/src/web.rs#L89-L98 I haven't been able to reduce the code as much. Output from
|
The original minimized code doesn't ICE on the playground anymore. The pixu.rs branch from the other comment doesn't build on nightly anymore, however it is just because of dependencies. If you update cc @cramertj |
Nice! Closing-- if anyone repros, I can reopen. cc @withoutboats @nikomatsakis |
The playground example at the top might make a good regression test. |
I can repro that on the 2018-12-18 build so happy to roll the playground example as a regression test (unless anyone's already done it?). |
Marking as blocking but it seems like @gilescope is all over this |
…e, r=petrochenkov Regression test added for an async ICE. Regression test for rust-lang#57084 (as suggested in issue).
Test in place, move to close @nikomatsakis ? |
Great, closing! |
I tried to write a generic
async
wrapper for something similar totokio_reactor::PollEvented
that callspoll_...
,clear_...
andyield
depending on theio::Result
of an operation and got the error mentioned in the subject.I managed to reduce the code triggering it to this:
(Playground)
Probably related to #53989.
Full error message:
The text was updated successfully, but these errors were encountered: