diff options
| author | bors <bors@rust-lang.org> | 2022-12-31 14:51:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-31 14:51:27 +0000 |
| commit | f31733b1d61dd8ab2012bbe466838be244a96dd3 (patch) | |
| tree | 8ff20bc95b065992ae49e368e72da50832765801 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | da15d92a3204da419bad70cbfceb2676bfe0b528 (diff) | |
| parent | 332dd6ad6ec0992137f515845ae832fb807123e8 (diff) | |
| download | rust-f31733b1d61dd8ab2012bbe466838be244a96dd3.tar.gz rust-f31733b1d61dd8ab2012bbe466838be244a96dd3.zip | |
Auto merge of #13871 - lowr:fix/extract-module-merge-multiple-ranges, r=lnicola
fix: merge multiple intersecting ranges Fixes #13791 In `check_intersection_and_push()`, there may exist two ranges we should merge with the new one. We've been assuming there should be only one range that intersects, which lead to [this assertion](https://github.com/rust-lang/rust-analyzer/blob/da15d92a3204da419bad70cbfceb2676bfe0b528/crates/text-edit/src/lib.rs#L192) to fail under specific circumstances.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
