rust/crates/rust-analyzer
bors 093de32f80 Auto merge of #13237 - Veykril:process-changes, r=Veykril
Amalgamate file changes for the same file ids in process_changes

When receiving multiple change events for a single file id where the last change is a delete the server panics, as it tries to access the file contents of a deleted file. This occurs due to the VFS changes and the in memory file contents being updated immediately, while `process_changes` processes the events afterwards in sequence which no longer works as it will only observe the final file contents. By folding these events together, we will no longer try to process these intermediate changes, as they aren't relevant anyways.

Potentially fixes https://github.com/rust-lang/rust-analyzer/issues/13236
2022-09-27 14:41:40 +00:00
..
src Auto merge of #13237 - Veykril:process-changes, r=Veykril 2022-09-27 14:41:40 +00:00
tests/slow-tests Use cfg(any()) instead of cfg(FALSE) for disabling proc-macro test 2022-09-27 13:52:04 +02:00
build.rs Fix typo in build.rs 2022-06-26 10:09:45 +00:00
Cargo.toml Remove obsolete in-rust-tree feature from sourcegen 2022-09-26 11:34:30 +02:00