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 tests in implicit_saturating_sub lint #9584

Merged
merged 1 commit into from
Oct 13, 2022
Merged

add tests in implicit_saturating_sub lint #9584

merged 1 commit into from
Oct 13, 2022

Conversation

roynrishingha
Copy link
Contributor

@roynrishingha roynrishingha commented Oct 3, 2022

This adds more tests to the implicit_saturating_sub lint to rule out certain false positives that have appeared in the past.

Now with those false positives out of the equation, we can move the lint to style.


changelog: promote [implicit-saturating-sub] to the style category

@rust-highfive
Copy link

r? @Jarcho

(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 Oct 3, 2022
@roynrishingha
Copy link
Contributor Author

r?@llogiq

@rust-highfive rust-highfive assigned llogiq and unassigned Jarcho Oct 3, 2022
@llogiq
Copy link
Contributor

llogiq commented Oct 11, 2022

Just that one small nit about the variable name, then we can merge this.

@roynrishingha
Copy link
Contributor Author

@llogiq your suggestions are implemented.

Please take a look.
Thanks

Copy link
Contributor

@llogiq llogiq left a comment

Choose a reason for hiding this comment

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

Thank you for seeing this through.

@bors r+

@llogiq
Copy link
Contributor

llogiq commented Oct 13, 2022

You may have missed this, @bors r+

@bors
Copy link
Collaborator

bors commented Oct 13, 2022

📌 Commit ac6d2ba has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Oct 13, 2022

⌛ Testing commit ac6d2ba with merge fe3200c...

@bors
Copy link
Collaborator

bors commented Oct 13, 2022

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

@bors bors merged commit fe3200c into rust-lang:master Oct 13, 2022
@roynrishingha roynrishingha deleted the implicit_saturating_sub branch April 20, 2023 16:03
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.

5 participants