On Thu Jan 22, 2026 at 9:52 PM GMT, Miguel Ojeda wrote:
> On Thu, Jan 22, 2026 at 10:34 PM <[email protected]> wrote:
>>
>> Just a random musing - it would actually be quite nice if we could have
>> some sort of automated style check for this. I have to assume the linux
>> kernel probably isn't the only project out there with its own prelude…
>
> Yeah, that would be quite nice indeed -- we have discussed this a few
> times (most recently a couple weeks ago, including whether Klint could
> be used for that and for detecting "long import paths", i.e. when we
> have a re-export we prefer, but that has edge cases; as well as
> related bits like a `klint::moved` annotation -- Cc'ing Gary).

This is tracked in https://github.com/Rust-for-Linux/klint/issues/5.

Best,
Gary

>
> Cheers,
> Miguel

Reply via email to