Skip to content

Fix invalid enum declaration #33682

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
May 17, 2016

Conversation

GuillaumeGomez
Copy link
Member

@Ms2ger
Copy link
Contributor

Ms2ger commented May 17, 2016

lgtm

@@ -45,8 +45,8 @@ Matching with the wrong number of fields has no sensible interpretation:

```compile_fail
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the point of this example is to show incorrect syntax in the match below.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example is supposed to fail.

@sanxiyn
Copy link
Member

sanxiyn commented May 17, 2016

I think match right below should have Fruit:: prefix.

@GuillaumeGomez
Copy link
Member Author

I think match right below should have Fruit:: prefix.

Well saw!

@GuillaumeGomez GuillaumeGomez force-pushed the fix-error-explanation-enum branch from 36f1fc5 to 6e1154d Compare May 17, 2016 11:46
@GuillaumeGomez
Copy link
Member Author

Updated.

@sanxiyn
Copy link
Member

sanxiyn commented May 17, 2016

@bors r+

@bors
Copy link
Collaborator

bors commented May 17, 2016

📌 Commit 6e1154d has been approved by sanxiyn

@bors
Copy link
Collaborator

bors commented May 17, 2016

⌛ Testing commit 6e1154d with merge 30422de...

bors added a commit that referenced this pull request May 17, 2016
@bors bors merged commit 6e1154d into rust-lang:master May 17, 2016
@GuillaumeGomez GuillaumeGomez deleted the fix-error-explanation-enum branch May 18, 2016 12:14
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.

5 participants