-
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
internal compiler error: incorrect size #13186
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Almost fixed it. Need some time to implement tests. |
stepancheg
added a commit
to stepancheg/rust
that referenced
this issue
Apr 13, 2014
This patch fixes issue rust-lang#13186. When generating constant expression for enum, it is possible that alignment of expression may be not equal to alignment of type. In that case space after last struct field must be padded to match size of value and size of struct. This commit adds that padding. See detailed explanation in src/test/run-pass/trans-tag-static-padding.rs
bors
added a commit
that referenced
this issue
May 5, 2014
This patch fixes issue #13186. When generating constant expression for enum, it is possible that alignment of expression may be not equal to alignment of type. In that case space after last struct field must be padded to match size of value and size of struct. This commit adds that padding. See detailed explanation in src/test/run-pass/trans-tag-static-padding.rs
Looks like it's fixed now? |
@jakub- yes, but |
Closing, because there's separate issue for repr #13486 |
notriddle
pushed a commit
to notriddle/rust
that referenced
this issue
Sep 20, 2022
Filter imports on find-all-references Attempt to rust-lang#13184
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bug.rs:
RUST_BACKTRACE=1 rustc ./bug.rs:
Using rust nightly, version: 201403270405~c83994e, on Linux x86_64.
The text was updated successfully, but these errors were encountered: