Skip to content

fix bug for large_enum_variants#7677

Merged
bors merged 1 commit intorust-lang:masterfrom
surechen:edit_large_enum_variant
Sep 30, 2021
Merged

fix bug for large_enum_variants#7677
bors merged 1 commit intorust-lang:masterfrom
surechen:edit_large_enum_variant

Conversation

@surechen
Copy link
Copy Markdown
Contributor

@surechen surechen commented Sep 16, 2021

Fix the discussion problem in the issue of #7666 (comment)

About the false positive problem of case:

enum LargeEnum6 {
    A,
    B([u8;255]),
    C([u8;200]),
}

changelog: Fix largest_enum_variant wrongly identifying the second largest variant.

@rust-highfive
Copy link
Copy Markdown

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

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Sep 16, 2021
@surechen surechen requested a review from camsteffen September 23, 2021 01:07
Copy link
Copy Markdown
Contributor

@camsteffen camsteffen left a comment

Choose a reason for hiding this comment

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

Looking good! Please squash commits.

@surechen surechen force-pushed the edit_large_enum_variant branch from 5bef29b to 56f0c9a Compare September 30, 2021 02:18
@surechen
Copy link
Copy Markdown
Contributor Author

Looking good! Please squash commits.

Done. Thanks.

@camsteffen
Copy link
Copy Markdown
Contributor

@bors r+

Thanks!

@bors
Copy link
Copy Markdown
Contributor

bors commented Sep 30, 2021

📌 Commit 56f0c9a has been approved by camsteffen

@bors
Copy link
Copy Markdown
Contributor

bors commented Sep 30, 2021

⌛ Testing commit 56f0c9a with merge cb72a2f...

bors added a commit that referenced this pull request Sep 30, 2021
fix bug for large_enum_variants

Fix the discussion problem in the issue of #7666 (comment)

About the false positive problem of case:
```rust
enum LargeEnum6 {
    A,
    B([u8;255]),
    C([u8;200]),
}
```
@bors
Copy link
Copy Markdown
Contributor

bors commented Sep 30, 2021

💔 Test failed - checks-action_test

@camsteffen
Copy link
Copy Markdown
Contributor

@bors retry

Added changelog

@bors
Copy link
Copy Markdown
Contributor

bors commented Sep 30, 2021

⌛ Testing commit 56f0c9a with merge a893eb9...

@bors
Copy link
Copy Markdown
Contributor

bors commented Sep 30, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: camsteffen
Pushing a893eb9 to master...

@bors bors merged commit a893eb9 into rust-lang:master Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants