-
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
ICE: field.0.is_sized()
#113760
Comments
Crashes Regression in rust-lang-ci@4c221b7 |
Since this went from error -> ICE (specifically because it's neither valid code, and also would need the |
Minimized too: union W<T> { s: dyn Iterator<Item = Missing> }
static ONCE: W<()> = todo!(); Or even more minimal: union W { s: dyn Iterator<Item = Missing> }
static ONCE: W = todo!(); |
Also, this didn't really regress in #112340. Before that PR, it ICEd with a slighlty different repro: union W<T> { t: T, s: dyn Iterator<Item = Missing> }
static ONCE: W<()> = todo!(); Specifically, if you get rid of the "parameter It probably just regressed in whatever PR introduced that assertion that got triggered. |
…=cjgillot Don't attempt to compute layout of type referencing error Leads to more ICEs and strange diagnostics than are worth it. Fixes rust-lang#113760
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: