Skip to content

Conversation

smalis-msft
Copy link
Contributor

Mostly cleaning up some more map_ors, but the one big change of note is temporarily allowing the clippy:precedence lint. Previously this lint only applied to arithmetic operations, however a change in 1.85 causes it to apply to bitwise operations as well. This is overly noisy, and unnecessary. And the clippy maintainers agree, as they've since split out this change into a separate lint, precedence_bits, that is allow-by-default. However that split will not be present until 1.86. See rust-lang/rust-clippy#14115 for details on that.

@smalis-msft smalis-msft requested a review from a team as a code owner February 20, 2025 17:50
@smalis-msft smalis-msft enabled auto-merge (squash) February 20, 2025 17:50
@jstarks
Copy link
Member

jstarks commented Feb 20, 2025

Classic clippy. Thanks for looking into this.

Copy link
Contributor

@daprilik daprilik left a comment

Choose a reason for hiding this comment

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

classic clippy

@jstarks
Copy link
Member

jstarks commented Feb 20, 2025

Classic clippy. Thanks for looking into this.

classic clippy

image

@smalis-msft smalis-msft merged commit f403f51 into microsoft:main Feb 20, 2025
26 checks passed
@smalis-msft smalis-msft deleted the rust-185-lints branch February 20, 2025 18:21
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.

3 participants