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

[arithmetic-side-effects] Consider references #9507

Merged
merged 1 commit into from
Sep 27, 2022
Merged

Conversation

c410-f3r
Copy link
Contributor

@c410-f3r c410-f3r commented Sep 21, 2022

Takes into consideration integer references like &i32::MAX because currently things like let _ = &1 + 0 trigger the lint.

changelog: FP: [arithmetic_side_effects]: Now ignores references
9507

@rust-highfive
Copy link

r? @xFrednet

(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 Sep 21, 2022
@c410-f3r
Copy link
Contributor Author

c410-f3r commented Sep 27, 2022

It seems that @xFrednet is not currently available. Perhaps another reviewer?

r? rust-lang/clippy

@c410-f3r
Copy link
Contributor Author

r? @Alexendoo
Hope you don't mind

@rust-highfive rust-highfive assigned Alexendoo and unassigned xFrednet Sep 27, 2022
@xFrednet
Copy link
Member

Sorry, for the last replay, haven't had much time for Clippy in the last weeks. @Alexendoo It would be super if you could take this over. You can pass it back, if you don't have time 🙃

@Alexendoo
Copy link
Member

Yep no problem! LGTM

@bors r+

@bors
Copy link
Contributor

bors commented Sep 27, 2022

📌 Commit 4c5f230 has been approved by Alexendoo

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 27, 2022

⌛ Testing commit 4c5f230 with merge d31db02...

@bors
Copy link
Contributor

bors commented Sep 27, 2022

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

@bors bors merged commit d31db02 into rust-lang:master Sep 27, 2022
@c410-f3r
Copy link
Contributor Author

@xFrednet Don't worry, we all have stuff to do.
@Alexendoo Thanks!

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