bors f31733b1d6 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](da15d92a32/crates/text-edit/src/lib.rs (L192)) to fail under specific circumstances.
2022-12-31 14:51:27 +00:00
..
2022-12-31 14:20:59 +01:00
2022-12-31 16:17:38 +09:00
2022-12-31 14:20:59 +01:00
2022-12-30 16:10:07 +02:00
2022-12-28 22:42:26 +00:00
2022-11-23 17:24:03 +02:00
2022-11-23 17:24:03 +02:00
2022-12-28 23:17:13 +00:00
2022-11-23 17:24:03 +02:00
2022-12-30 11:14:15 +00:00
2022-11-23 17:24:03 +02:00