Re: [PATCH v6 09/20] rust: io: use view types instead of addresses for `Io`
From: Miguel Ojeda
Date: Wed Jul 08 2026 - 11:41:21 EST
On Wed, Jul 8, 2026 at 4:37 PM Daniel Almeida
<daniel.almeida@xxxxxxxxxxxxx> wrote:
>
> You mean to avoid that cryptic “rust_build_error” when the assertion fails?
My reading is that it avoids the assertion failure itself -- if the
compiler decided not to inline, then it would fail to build when it
should have succeeded.
i.e. it is not about improving the error message, but about avoiding
the error to begin with (not sure which one you meant of the two,
though).
Cheers,
Miguel