rust-analyzer/crates
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
..
base-db Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
cfg Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
flycheck Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00
hir Diagnose private field accesses 2022-12-31 14:20:59 +01:00
hir-def Auto merge of #13866 - Nilstrieb:rustc_safe_intrinsic, r=Veykril 2022-12-30 22:14:31 +00:00
hir-expand Remove unused known Names 2022-12-31 16:17:38 +09:00
hir-ty Diagnose private field accesses 2022-12-31 14:20:59 +01:00
ide Improve exit point highlighting for non-loop loops in tail position 2022-12-31 12:08:25 +01:00
ide-assists fix: merge multiple intersecting ranges 2022-12-31 22:08:53 +09:00
ide-completion Avoid useless format 2022-12-30 16:10:07 +02:00
ide-db Improve exit point highlighting for non-loop loops in tail position 2022-12-31 12:08:25 +01:00
ide-diagnostics Diagnose private field accesses 2022-12-31 14:20:59 +01:00
ide-ssr Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
limit Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
mbe Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
parser Parse do yeet expressions 2022-12-28 22:42:26 +00:00
paths ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
proc-macro-api Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00
proc-macro-srv Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
proc-macro-srv-cli ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
proc-macro-test Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00
profile Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
project-model Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
rust-analyzer Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
sourcegen Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
stdx Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
syntax Implement do yeet expression 2022-12-28 23:17:13 +00:00
test-utils Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00
text-edit ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
toolchain Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00
tt Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
vfs derive 'Hash' 2022-12-30 11:14:15 +00:00
vfs-notify ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00