Re: [PATCH v2 3/3] rust: ptr: allow clippy::incompatible_msrv for slice_ptr_len
From: Miguel Ojeda
Date: Sat Apr 04 2026 - 17:47:04 EST
On Sat, Apr 4, 2026 at 11:28 PM John Hubbard <jhubbard@xxxxxxxxxx> wrote:
>
> Clippy reports four warnings when building with CLIPPY=1:
>
> warning: current MSRV (Minimum Supported Rust Version) is `1.78.0` but this item is stable since `1.79.0`
> --> rust/kernel/ptr/projection.rs:79:26
> |
> 79 | if self >= slice.len() {
> | ^^^^^
This will also go away with the bump:
https://lore.kernel.org/rust-for-linux/20260401114540.30108-3-ojeda@xxxxxxxxxx/
Cheers,
Miguel