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). Cheers, Miguel
