Skip to content

librustc: Pass the node id so we don't fail on destructing struct variants #12639

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

Merged
merged 1 commit into from
Mar 1, 2014

Conversation

luqmana
Copy link
Member

@luqmana luqmana commented Mar 1, 2014

We weren't passing the node id for the enum and hence it couldn't retrieve the field types for the struct variant we were trying to destructure.

Fixes #11577.

bors added a commit that referenced this pull request Mar 1, 2014
We weren't passing the node id for the enum and hence it couldn't retrieve the field types for the struct variant we were trying to destructure.

Fixes #11577.
@bors bors closed this Mar 1, 2014
@bors bors merged commit 715e618 into rust-lang:master Mar 1, 2014
@luqmana luqmana deleted the struct-variant-pat branch June 5, 2014 23:18
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.

internal compiler error: cannot get field types from the enum type Foo without a node ID
3 participants