Re: [PATCH v7] rust: transmute: Add methods for FromBytes trait
From: Miguel Ojeda
Date: Thu Jun 19 2025 - 15:31:57 EST
On Wed, Jun 18, 2025 at 9:29 PM Benno Lossin <lossin@xxxxxxxxxx> wrote:
>
> Yes, the prelude won't have precedence over locally defined items. So if
> someone does
>
> mod core {}
>
> your_macro_that_uses_core!(); // <-- will error with `core::mem` not existing
Yeah, ideally the custom prelude thing (or Clippy or similar) could
warn about having any collisions with things in the custom prelude to
begin with.
Cheers,
Miguel