Re: [PATCH 2/3] rust: kernel: move `build_error` hidden function to prevent mistakes

From: Miguel Ojeda
Date: Mon Nov 25 2024 - 04:24:29 EST


On Mon, Nov 25, 2024 at 10:14 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> You could also put #![doc(hidden)] at the top of build_assert.rs to
> simplify the lib.rs list. Not sure what is best.

Yeah, not sure. We used outer attributes for the rest of
`doc(hidden)`s, including in the same file, so it is probably best to
keep it consistent, unless we decide to move all to inner ones.

Thanks!

Cheers,
Miguel