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

Add lint cast_enum_constructor #8562

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

Jarcho
Copy link
Contributor

@Jarcho Jarcho commented Mar 17, 2022

fixes: #1116

changelog: Add lint cast_enum_constructor

@rust-highfive
Copy link

r? @Manishearth

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 17, 2022
@Jarcho Jarcho force-pushed the enum_tuple_variant_as_int branch from a036f6b to 39329d1 Compare March 17, 2022 23:57
@Manishearth
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Mar 18, 2022

📌 Commit 39329d1 has been approved by Manishearth

@bors
Copy link
Contributor

bors commented Mar 18, 2022

⌛ Testing commit 39329d1 with merge a31dcb7...

@bors
Copy link
Contributor

bors commented Mar 18, 2022

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

@bors bors merged commit a31dcb7 into rust-lang:master Mar 18, 2022
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.

Deny casting non-C enums to integers
4 participants