-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE: "enum pattern didn't resolve to enum or struct None" #33293
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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. |
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. |
cc me |
dsprenkels
added a commit
to dsprenkels/rust
that referenced
this issue
Jun 13, 2016
# for free
to join this conversation on GitHub.
Already have an account?
# 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.
Uh oh!
There was an error while loading. Please reload this page.
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: