Files
rust/tests/ui/std
Trevor Gross 320b5e08c4 core: Make funnel shifts panic only if overflow checks are enabled
Change from the existing behavior of panicking unconditionally to
panicking only if debug assertions are enabled, wrapping otherwise. This
is more consistent with other operations, and gives slightly better
codegen [1].

Suggested in the stabilization PR, RUST-161015.

[1]: https://rust.godbolt.org/z/Yz81zhbno
2026-08-24 21:22:42 -05:00
..
2026-07-23 19:57:43 +02:00
2026-07-23 19:57:43 +02:00