-
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: "enum pattern didn't resolve to enum or struct None" #33293
Labels
A-type-system
Area: Type system
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Comments
Can you give a self-contained example that reproduces the bug? I can't reproduce this on playpen. |
nagisa
added
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
A-type-system
Area: Type system
labels
Apr 30, 2016
Aatch
added
the
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
label
May 3, 2016
dsprenkels
added a commit
to dsprenkels/rust
that referenced
this issue
May 30, 2016
…h` returns `Err(true)` In 1a374b8, (pr rust-lang#33046) fixed the error reporting of a specific case, but the change that was introduced did not make sure that `record_def` was called in all cases, which lead to an ICE in [1]. This change restores the original `else` case, but keeps the changes that were committed in 1a374b8. This commit fixes issue rust-lang#33293. [1] `rustc::middle::mem_categorization::MemCategorizationContext::cat_pattern_`
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jun 1, 2016
…, r=petrochenkov resolve: record pattern def when `resolve_pattern` returns `Err(true)` I propose a fix for issue rust-lang#33293. In 1a374b8, (pr rust-lang#33046) fixed the error reporting of a specific case, but the change that was introduced did not make sure that `record_def` was called in all cases, which lead to an ICE in [1]. This change restores the original `else` case, but keeps the changes that were committed in 1a374b8. [1] `rustc::middle::mem_categorization::MemCategorizationContext::cat_pattern_`
This issue has been fixed by #33967, but no test was submitted. |
arielb1
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Jun 9, 2016
cc me |
dsprenkels
added a commit
to dsprenkels/rust
that referenced
this issue
Jun 13, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-type-system
Area: Type system
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Hi everyone,
This code caused a ICE for me.
The compiler said this.
The bug doesn't appear in rust stable or beta, only in nightly.
edit: used minimal example instead of my code.
The text was updated successfully, but these errors were encountered: