Skip to content
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

Test Case for Incr. Comp. Hash for enums #36674. #36840

Merged
merged 4 commits into from
Oct 2, 2016

Conversation

eulerdisk
Copy link
Contributor

Fixes #36674
Part of #36350

r? @michaelwoerister

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @michaelwoerister (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. Due to 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.

Copy link
Member

@michaelwoerister michaelwoerister left a comment

Choose a reason for hiding this comment

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

This is excellent, thank you so much, @eulerdisk!
I've left two comments on things that should be fixed. After that this is good to merge 👍

#[rustc_metadata_dirty(cfg="cfail2")]
#[rustc_metadata_clean(cfg="cfail3")]
enum EnumChangeFieldOrderStructStyleVariant {
Variant1 { b: u32, a: u32 },
Copy link
Member

Choose a reason for hiding this comment

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

b should be f32

// We also test the ICH for struct definitions exported in metadata. Same as
// above, we want to make sure that the change between rev1 and rev2 also
// results in a change of the ICH for the struct's metadata, and that it stays
// the same between rev2 and rev3.
Copy link
Member

Choose a reason for hiding this comment

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

The comment paragraph above still says 'struct' instead of 'enum'.

@michaelwoerister
Copy link
Member

@bors r+

Thanks @eulerdisk!
(FYI: I used GH's new editing feature to make another "struct" -> "enum" correction in a comment)

@bors
Copy link
Contributor

bors commented Sep 30, 2016

📌 Commit 1a41138 has been approved by michaelwoerister

@eulerdisk
Copy link
Contributor Author

@michaelwoerister Maybe there's another "struct" to change in line 21

@michaelwoerister
Copy link
Member

Yes, you're right, I'll fix it.

@michaelwoerister
Copy link
Member

@bors r-

@michaelwoerister
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Sep 30, 2016

📌 Commit 16261a6 has been approved by michaelwoerister

@bors
Copy link
Contributor

bors commented Oct 2, 2016

⌛ Testing commit 16261a6 with merge 7b33876...

bors added a commit that referenced this pull request Oct 2, 2016
…erister

Test Case for Incr. Comp. Hash for enums #36674.

Fixes #36674
Part of #36350

r? @michaelwoerister
@bors bors merged commit 16261a6 into rust-lang:master Oct 2, 2016
@michaelwoerister
Copy link
Member

🎉

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