diff options
| author | bors <bors@rust-lang.org> | 2022-09-10 09:50:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-10 09:50:21 +0000 |
| commit | 16ed1913622e5c10ce7630a2dc23ab6010a02197 (patch) | |
| tree | 8c8cd3c6cbe0a5797927b6dc16dad9ce68cfe963 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff | |
| parent | 944a142bfae7ee0d10cb12e9c3383b05e311f57e (diff) | |
| parent | 931c07c94f5e6d2e24c08a1c4941612aab69872a (diff) | |
| download | rust-16ed1913622e5c10ce7630a2dc23ab6010a02197.tar.gz rust-16ed1913622e5c10ce7630a2dc23ab6010a02197.zip | |
Auto merge of #101483 - oli-obk:guaranteed_opt, r=fee1-dead
The `<*const T>::guaranteed_*` methods now return an option for the unknown case cc https://github.com/rust-lang/rust/issues/53020#issuecomment-1236932443 I chose `0` for "not equal" and `1` for "equal" and left `2` for the unknown case so backends can just forward to raw pointer equality and it works ✨ r? `@fee1-dead` or `@lcnr` cc `@rust-lang/wg-const-eval`
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
