diff options
| author | bors <bors@rust-lang.org> | 2021-01-19 05:58:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-19 05:58:51 +0000 |
| commit | 7d7b22d78fa71cf18109dc9d186611f2ddf60d8e (patch) | |
| tree | d9f527ea1bd82b3e3910e211dd7b1ac6e1d6c7fc /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 94e6ea9fc97845b336067bffb3d103780474f6f5 (diff) | |
| parent | b96063cf4757eb698611b57e9032da2b74c8c789 (diff) | |
| download | rust-7d7b22d78fa71cf18109dc9d186611f2ddf60d8e.tar.gz rust-7d7b22d78fa71cf18109dc9d186611f2ddf60d8e.zip | |
Auto merge of #81169 - dylni:fix-soundness-issue-for-replace-range, r=KodrAus
Fix soundness issue for `replace_range` and `range` Fixes #81138 by only calling `start_bound` and `end_bound` once. I also fixed the same issue for [`BTreeMap::range`](https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.range) and [`BTreeSet::range`](https://doc.rust-lang.org/std/collections/struct.BTreeSet.html#method.range).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
