-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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: Compiling Commingle project #77523
Comments
I believe this might be related to higiene. It seems like we might be doing something wrong in |
Thanks @estebank, would be great to see this fixed. |
Minimized: https://github.com/Aaron1011/maud_bug This issue seems to require the following setup:
My guess is that this is a bug in hygiene serialization, since the issue doesn't occur if the async function and poller are in the same crate. I'll continue to investigate |
It looks like the issue occurs here: rust/compiler/rustc_middle/src/ty/mod.rs Lines 3023 to 3042 in f317a93
With hygiene serialization, we may be comparing However, I don't really understand everything that's going on here ('adjusting' and 'normalizing' a |
…estebank Record `expansion_that_defined` into crate metadata Fixes rust-lang#77523 Now that hygiene serialization is implemented, we also need to record `expansion_that_defined` so that we properly handle a foreign `SyntaxContext`.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: