Re: [PATCH v2 02/12] rust: num: reject Bounded::shr overshifts at build time

"Danilo Krummrich" <[email protected]>
Newsgroups org.kernel.vger.linux-doc,dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux
Message-ID <[email protected]>
On Mon Aug 10, 2026 at 3:55 PM CEST, Eliot Courtney wrote:
> Make `shr` reject shifts of at least the type's bit width at build
> time, instead of panicking or masking the shift amount at runtime.
>
> Signed-off-by: Eliot Courtney <[email protected]>
> Acked-by: Alexandre Courbot <[email protected]>

Reviewed-by: Danilo Krummrich <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.