Skip to content

[arithmetic_side_effects] Fix #10590 #10615

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

Merged
merged 1 commit into from
Apr 20, 2023
Merged

Conversation

c410-f3r
Copy link
Contributor

@c410-f3r c410-f3r commented Apr 9, 2023

Fix #10590

changelog: [arithmetic_side_effects]: Detect integer methods that can introduce side effects

@c410-f3r
Copy link
Contributor Author

c410-f3r commented Apr 9, 2023

ping @bors

@c410-f3r
Copy link
Contributor Author

c410-f3r commented Apr 9, 2023

Looks like bors is not responding.

@c410-f3r
Copy link
Contributor Author

r? clippy

@giraffate
Copy link
Contributor

@c410-f3r Can the conflicts be resoleved?

@c410-f3r
Copy link
Contributor Author

@c410-f3r Can the conflicts be resoleved?

Done

@giraffate
Copy link
Contributor

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Apr 20, 2023

📌 Commit 3db7352 has been approved by giraffate

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Apr 20, 2023

⌛ Testing commit 3db7352 with merge 523c8fa...

@bors
Copy link
Contributor

bors commented Apr 20, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: giraffate
Pushing 523c8fa to master...

@bors bors merged commit 523c8fa into rust-lang:master Apr 20, 2023
bors added a commit that referenced this pull request May 18, 2023
Rename `integer_arithmetic`

The lack of official feedback in #10200 made me give up on pursuing the matter but after yet another use-case that is not handled by `integer_arithmetic` (#10615), I think it is worth trying again.

---

changelog: Move/Deprecation: Rename `integer_arithmetic` to `arithmetic_side_effects`
[#10674](#10674)
<!-- changelog_checked -->
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.

New lint suggestion flagging wrapping/saturating div/rem/rem_euclid
3 participants