-
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
the naive layout isn't refined by the actual layout #113941
Comments
I can repro at https://github.com/dtolnay/inventory/tree/b5c9757fb621f8e429b623d70acfb8ac01238b01 using |
Assessing impact: 45 of my repos had failing CI jobs with this ICE. Of those, only 2 ( In summary this ICE affects a small percentage (1%? less?) of projects that do not build using |
Minimized: enum Void {}
pub struct Struct([*const (); 0], Void);
pub enum Enum {
Variant(Struct),
} |
It also seems to break miri's stdlib tests: https://github.com/rust-lang/miri-test-libstd/actions/runs/5628275531 |
miri-test-stdlib sets |
…, r=dtolnay Add regression test for issue rust-lang#113941 - naive layout isn't refined This PR adds a regression test for issue rust-lang#113941 - `the naive layout isn't refined by the actual layout` based on the minimized repro rust-lang#113941 (comment).
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#112508 (Tweak spans for self arg, fix borrow suggestion for signature mismatch) - rust-lang#113901 (Get rid of subst-relate incompleteness in new solver) - rust-lang#113948 (Fix rustc-args passing issue in bootstrap) - rust-lang#113950 (Remove Scope::Elision from bound-vars resolution.) - rust-lang#113957 (Add regression test for issue rust-lang#113941 - naive layout isn't refined) - rust-lang#113959 (Migrate GUI colors test to original CSS color format) r? `@ghost` `@rustbot` modify labels: rollup
Code
unsure, happened in crate
inventory
when compiling my projectMeta
rustc --version --verbose
:Error output
Backtrace
File attached as instructed: rustc-ice-2023-07-22T01:09:03.554883194Z-3312353.txt
The text was updated successfully, but these errors were encountered: