-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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: failed to get layout #111176
Comments
bwahaha, oh yea, code assuming layout computation can't fail... uh... we should change the sites where that happens to calling |
tbh I find it a bit concerning that this did not trigger anything in our ci :/ |
Our code coverage of rustc via its test suite is probably not very high in the error cases. Do you have ideas for changing this fundamentally? I guess step 0 would be to actually generate coverage information |
hm, |
I guess we could test all miri tests against miri and against rustc |
@rustbot claim |
(I think) this is the trait method that needs to change (most implementors directly return rust/compiler/rustc_middle/src/ty/layout.rs Lines 635 to 648 in ce04288
|
you can make the |
Don't ICE on layout computation failure Fixes rust-lang#111176 regression. r? `@oli-obk`
Don't ICE on layout computation failure Fixes rust-lang#111176 regression. r? `@oli-obk`
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: