Skip to content

Conversation

lilyball
Copy link
Contributor

Fixes #14308.

lilyball added 3 commits May 20, 2014 19:52
Enum wildcard patterns in match behave wrong when applied to tuple
structs. They either ICE or cause an LLVM error.
Consider PatEnums constructed with A(..) to be candidates for tuple
struct patterns, not just ones constructed with A(a,b,c). If these
patterns shouldn't be valid tuple struct patterns (as they're equivalent
to _), this needs to be caught before we get to trans.

Fixes rust-lang#14308.
bors added a commit that referenced this pull request May 23, 2014
@bors bors closed this May 23, 2014
@bors bors merged commit 0718259 into rust-lang:master May 23, 2014
@lilyball lilyball deleted the tuple_dotdot_match_ice branch May 23, 2014 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICE / LLVM ERROR with tuple structure match
3 participants