Re: [PATCH 1/2] kbuild: rust: allow `clippy::uninlined_format_args`

From: Miguel Ojeda

Date: Fri Apr 03 2026 - 09:07:45 EST


On Fri, Apr 3, 2026 at 12:25 PM Tamir Duberstein <tamird@xxxxxxxxxx> wrote:
>
> Seeing this patch a bit late but in clippy 1.85.0 there is
> `#[clippy::format_args]` which would permit us to make the lint work
> with our custom macros.

+1, that may be good to consider, especially with the bump -- added
and backlinked in:

https://github.com/Rust-for-Linux/linux/issues/349

Maybe an issue would be good to create too.

It is good to see Clippy adding more attributes, because I requested a
similar one for other lints involving macros in that list, e.g.

https://github.com/rust-lang/rust-clippy/issues/11303

So hopefully we will eventually get those too.

Thanks!

Cheers,
Miguel