Re: [PATCH v2 3/3] rust: ptr: allow clippy::incompatible_msrv for slice_ptr_len
From: John Hubbard
Date: Sat Apr 04 2026 - 17:50:10 EST
On 4/4/26 2:46 PM, Miguel Ojeda wrote:
> 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/
>
And that bump is destined for this merge window, right?
I'm also wondering how much, if any of this series here is needed
soon, to remain warnings-free.
thanks,
--
John Hubbard