Skip to content

Fix for issue #27889: same field names in enum variants #27929

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 Dec 12, 2015
Merged

Fix for issue #27889: same field names in enum variants #27929

merged 1 commit into from Dec 12, 2015

Conversation

ghost
Copy link

@ghost ghost commented Aug 21, 2015

Fix for issue #27889: same field names in enum variants

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@arielb1
Copy link
Contributor

arielb1 commented Aug 21, 2015

I would prefer to make FieldName contain either a FieldDef (for structs/enums) or a usize (for tuples).

@brson
Copy link
Contributor

brson commented Aug 21, 2015

r? @nrc

@rust-highfive rust-highfive assigned nrc and unassigned brson Aug 21, 2015
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// pretty-expanded FIXME #27889
Copy link
Member

Choose a reason for hiding this comment

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

Could you change this comment to describe what is actually being tested please? What is the connection with pretty-expanded?

@nrc
Copy link
Member

nrc commented Aug 30, 2015

This lgtm, modulo the comments.

@pnkfelix could you have a quick look please, just to check if there is perhaps a better way of doing this?

@ghost
Copy link
Author

ghost commented Sep 15, 2015

@nrc @pnkfelix thx in advance for your feedback.

@apasel422
Copy link
Contributor

What's the status of this?

@nrc
Copy link
Member

nrc commented Nov 2, 2015

ping @pnkfelix

@pnkfelix
Copy link
Member

pnkfelix commented Nov 4, 2015

r? @pnkfelix

@rust-highfive rust-highfive assigned pnkfelix and unassigned nrc Nov 4, 2015
@pnkfelix
Copy link
Member

@bors r+ 7482877

@bors
Copy link
Collaborator

bors commented Dec 11, 2015

⌛ Testing commit 7482877 with merge f1cb624...

@bors
Copy link
Collaborator

bors commented Dec 11, 2015

💔 Test failed - auto-win-msvc-64-opt

@pnkfelix
Copy link
Member

(needs a rebase, based on the error message... r=me once that happens...)

@ghost
Copy link
Author

ghost commented Dec 11, 2015

Rebased
r? @pnkfelix

@pnkfelix
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 11, 2015

📌 Commit 43725dc has been approved by pnkfelix

@bors
Copy link
Collaborator

bors commented Dec 12, 2015

⌛ Testing commit 43725dc with merge 9d5a3ef...

@bors
Copy link
Collaborator

bors commented Dec 12, 2015

💔 Test failed - auto-mac-64-opt

@alexcrichton
Copy link
Member

@bors: retry

On Fri, Dec 11, 2015 at 11:45 PM, bors notifications@github.com wrote:

[image: 💔] Test failed - auto-mac-64-opt
http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/7362


Reply to this email directly or view it on GitHub
#27929 (comment).

bors added a commit that referenced this pull request Dec 12, 2015
Fix for issue #27889: same field names in enum variants
@bors
Copy link
Collaborator

bors commented Dec 12, 2015

⌛ Testing commit 43725dc with merge 5e82941...

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.

8 participants