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

Tamir Duberstein
2026-04-01T23:02:21Z

On Wed, 01 Apr 2026 13:45:40 +0200, Miguel Ojeda <ojeda@kernel.org> 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@kernel.org>

--
Tamir Duberstein <tamird@kernel.org>