mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
a7a4e17225
Add regression test for `saturating_sub` bounds check issue Add codegen test for issue where `valid_index.saturating_sub(X)` produced an extra bounds check. This was fixed by the LLVM upgrade. Closes rust-lang/rust#139759