Re: [PATCH] rust: allow `clippy::disallowed_names` for doctests

From: John Hubbard
Date: Mon Nov 17 2025 - 16:36:24 EST


On 11/17/25 1:24 PM, Miguel Ojeda wrote:
> On Mon, Nov 17, 2025 at 10:13 PM John Hubbard <jhubbard@xxxxxxxxxx> wrote:
>>
>> Is rust-next a rebasing branch? I was going to request a non-empty commit
>> body, in order to make it more immediately clear what this does. Something
>> like:
>>
>> The current set of disallowed names is inherited from clippy's defaults [1],
>> which are "foo", "baz", and "quux". This may be extended via .clipy.toml,
>> which so far has no entries for disallowed names.
>
> What do you mean by "non-empty commit body"? The commit has several
> short paragraphs and mentions the `foo` example (precisely to hint at
> what the lint does).
>

Yikes, I misread one of the replies (way too quickly) and completely
missed the commit body, sorry for that.

thanks,
--
John Hubbard