-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 for E
: the type E
has an unknown layout
#35988
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Comments
apasel422
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Aug 25, 2016
This is not supported though, why aren't you getting an error? cc @arielb1 @nikomatsakis |
Note that referencing the type also causes an ICE on stable: enum E {
V([Box<E>])
}
fn foo(_: &E) {}
fn main() {} This triggers without referencing the type since #34755 moved |
Yes, similar to #34571 |
This seems like a legitimate "staging" problem... not quite sure how to triage though. |
nikomatsakis
added
the
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
label
Aug 31, 2016
Fixed in 1.15.1, needs test.
|
petrochenkov
added
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
and removed
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Feb 19, 2017
petrochenkov
added
the
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
label
Mar 1, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
This is a regression: reproduces on beta and nightly, doesn't reproduce on stable.
The text was updated successfully, but these errors were encountered: