about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/select/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-11 23:40:33 +0000
committerbors <bors@rust-lang.org>2023-08-11 23:40:33 +0000
commitb08dd92552d663e3c877c8e5ce859e212205a09f (patch)
tree35115dc5d36e25f179d98e3b1c7121aca1117fe4 /compiler/rustc_trait_selection/src/traits/select/mod.rs
parenta6f8aa5a092c5e46fcbdafe4c80b4e55ba0de41c (diff)
parentab6e2bc3d0dbe518fc647078b32f29b4151fda2c (diff)
downloadrust-b08dd92552d663e3c877c8e5ce859e212205a09f.tar.gz
rust-b08dd92552d663e3c877c8e5ce859e212205a09f.zip
Auto merge of #114720 - scottmcm:better-sub, r=workingjubilee
Tell LLVM that the negation in `<*const T>::sub` cannot overflow

Today it's just `sub` <https://rust.godbolt.org/z/8EzEPnMr5>; with this PR it's `sub nsw`.
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/select/mod.rs')
0 files changed, 0 insertions, 0 deletions