[PATCH 33/33] rust: kbuild: allow `clippy::precedence` for Rust < 1.86.0
Tamir Duberstein
tamird at kernel.org
Wed Apr 1 15:59:04 PDT 2026
On Wed, 01 Apr 2026 13:45:40 +0200, Miguel Ojeda <ojeda at 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 at kernel.org>
--
Tamir Duberstein <tamird at kernel.org>
More information about the linux-riscv
mailing list