Thread (107 messages) 107 messages, 7 authors, 2026-04-05

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

From: Tamir Duberstein <tamird@kernel.org>
Date: 2026-04-01 23:02:03
Also in: dri-devel, linux-block, linux-doc, linux-kbuild, linux-kselftest, linux-riscv, lkml, llvm, nouveau, rust-for-linux

On Wed, 01 Apr 2026 13:45:40 +0200, Miguel Ojeda [off-list ref] 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 [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help