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

Expand derivable-impls to cover enums with a default unit variant. #10161

Merged
merged 1 commit into from Jan 5, 2023

Conversation

khuey
Copy link
Contributor

@khuey khuey commented Jan 5, 2023

Please write a short comment explaining your change (or "none" for internal only changes)

changelog: [derivable_impls]: suggest deriving Default for enums with a default unit variant

@rustbot
Copy link
Collaborator

rustbot commented Jan 5, 2023

r? @llogiq

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jan 5, 2023
@llogiq
Copy link
Contributor

llogiq commented Jan 5, 2023

Thank you!

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 5, 2023

📌 Commit 1c42dbb has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jan 5, 2023

⌛ Testing commit 1c42dbb with merge 61ff54e...

@bors
Copy link
Collaborator

bors commented Jan 5, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 61ff54e to master...

@bors bors merged commit 61ff54e into rust-lang:master Jan 5, 2023
facebook-github-bot pushed a commit to facebook/sapling that referenced this pull request Mar 24, 2023
Summary:
In Rust 1.68.0, the `derivable_impls` clippy lint [got smarter](rust-lang/rust-clippy#10161).
Fix all instances of that lint in Mononoke, mute one that's impractical to address.

Reviewed By: markbt

Differential Revision: D44378068

fbshipit-source-id: 473a051a7001d9596db43f47b56cbad5f5db7efe
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.

None yet

4 participants