about summary refs log tree commit diff
path: root/tests/codegen/ptr-arithmetic.rs
AgeCommit message (Collapse)AuthorLines
2023-08-10Tell LLVM that the negation in `<*const T>::sub` cannot overflowScott McMurray-0/+34
Today it's just `sub` <https://rust.godbolt.org/z/8EzEPnMr5>; with this PR it's `sub nsw`.