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

From: Miguel Ojeda

Date: Tue Mar 31 2026 - 17:56:56 EST


On Tue, Mar 31, 2026 at 11:43 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> I mean the lint is kinda useful, and I don't want to disable it just because
> it doesn't exist in older versions of rustc.

Yeah, personally I like the inlined way, i.e. I use it myself, so I
don't mind enabling it everywhere if people is happy that it only
applies to some cases.

Another consideration is that the issue linked mentions that they
don't want to mix inline and not (for field access cases), so that
could be annoying for some, which is why they moved it back.

Either way sounds fine for me.

Anyway, if we enable it, I should apply the other suggestion too, put
the Cc: stable@ on them, and switch to `-W` here and remove the Cc:
stable@.

Thanks for taking a look!

Cheers,
Miguel