-
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: Cannot create local mono-item within future returned as impl trait #53920
Comments
Can you do that and edit your post? |
Possibly related to #53468 |
Here's another backtrace if at all helpful:
|
Does the issue persist on nightly? |
This has cleared up on nightly for me. |
Perhaps unrelated, but this open issue has a similar failure mode and still fails in 1.30 / 1.31 |
The issue seems to have been fixed, but there's no mcve to test, so I'm closing this as unactionable. If you encounter further problems, feel free to open new issues. |
A couple of odd requirements to trigger this one, I'm not sure how to summarize. I've boiled down the case and added comments to the code below, they all mention the circumstances which are necessary to trigger the ICE.
src/lib.rs:
src/main.rs:
Meta
RUST_BACKTRACE=1 cargo build
:rustc --version --verbose
:The text was updated successfully, but these errors were encountered: