Re: [PATCH] rust: clean Rust 1.86.0 new `clippy::needless_continue` cases

From: Danilo Krummrich
Date: Wed Apr 02 2025 - 05:18:27 EST


On Wed, Apr 02, 2025 at 12:12:05AM +0200, Miguel Ojeda wrote:
> Starting with the upcoming Rust 1.86.0, Clippy's `needless_continue` lint
> complains about the last statement of a loop [1], including cases like:

Not related to the patch itself: Don't we need to disable new lints anyways?
Otherwise we'd get warning when compiling older kernel with newer compilers /
linters, no?