Re: [PATCH 33/33] rust: kbuild: allow `clippy::precedence` for Rust < 1.86.0

From: Tamir Duberstein

Date: Wed Apr 01 2026 - 19:19:15 EST


On Wed, 01 Apr 2026 13:45:40 +0200, Miguel Ojeda <ojeda@xxxxxxxxxx> wrote:
> The Clippy `precedence` lint was extended in Rust 1.85.0 to include
> bitmasking and shift operations [1]. However, because it generated
> many hits, in Rust 1.86.0 it was split into a new `precedence_bits`
> lint which is not enabled by default [2].

Might be good to retain some of this in a code comment.

Reviewed-by: Tamir Duberstein <tamird@xxxxxxxxxx>

--
Tamir Duberstein <tamird@xxxxxxxxxx>