Re: [PATCH 1/2] kbuild: rust: allow `clippy::uninlined_format_args`
From: Gary Guo
Date: Tue Mar 31 2026 - 17:51:13 EST
On Tue Mar 31, 2026 at 10:14 PM BST, Miguel Ojeda wrote:
> On Tue, Mar 31, 2026 at 11:07 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>>
>> Does it produce a false positive, or it's a false negative? If it's the latter,
>> I think we don't need to disable the lint.
>
> If you mean for custom macros, then I think it is just that it doesn't
> take those into account at all. So I guess you could say false
> negative if you consider that it should.
>
> In any case, originally I just cleaned it, because it wasn't a big
> deal either way, but then I thought it would be best to keep the
> behavior the same. So either we disable or enable everywhere.
>
> Cheers,
> Miguel
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.
Best,
Gary