diff options
| author | bors <bors@rust-lang.org> | 2023-08-11 23:40:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-11 23:40:33 +0000 |
| commit | b08dd92552d663e3c877c8e5ce859e212205a09f (patch) | |
| tree | 35115dc5d36e25f179d98e3b1c7121aca1117fe4 /compiler/rustc_trait_selection/src/traits/select/mod.rs | |
| parent | a6f8aa5a092c5e46fcbdafe4c80b4e55ba0de41c (diff) | |
| parent | ab6e2bc3d0dbe518fc647078b32f29b4151fda2c (diff) | |
| download | rust-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
