rust/crates/rust-analyzer/src
Aleksey Kladov 2ed258ba42 Fix progress token is already registered crash
After we started reporting progress when running cargo check during
loading, it is possible to crash the client with two identical progress
tokens.

This points to a deeper issue: we might be running several cargo checks
concurrently, which doesn't make sense.

This commit linearizes all workspace fetches, making sure no updates are
lost.

As an additional touch, it also normalizes progress & result reporting,
to make sure they stand in sync.
2021-01-10 18:02:02 +03:00
..
bin More maintainable config 2021-01-06 15:39:28 +03:00
cli Report progress for cargo metadata and output-dir 2021-01-08 01:18:58 +08:00
diagnostics Filter out empty rustc spans 2020-12-21 15:38:27 +01:00
caps.rs YAGNI active_resolve_capabilities 2021-01-06 20:23:53 +03:00
cargo_target_spec.rs More maintainable config 2021-01-06 15:39:28 +03:00
cli.rs Move print_memory_usage to cli.rs 2020-12-11 18:24:27 +01:00
config.rs Use american spelling for config 2021-01-07 15:07:19 +03:00
diagnostics.rs Align diagnostics config with the rest of rust-analyzer 2020-08-18 16:03:15 +02:00
diff.rs Split textDocument/formatting TextEdit with diff 2020-12-31 15:33:20 +01:00
dispatch.rs Respond with JSON-RPC error if we failed to deserialize request 2020-10-30 19:57:52 +01:00
document.rs Latest LSP 3.16 protocol 2020-11-16 15:10:13 -05:00
from_proto.rs Re-export base_db from ide_db 2020-10-24 11:39:57 +03:00
global_state.rs Fix progress token is already registered crash 2021-01-10 18:02:02 +03:00
handlers.rs Remove some stale deprecations 2021-01-07 13:54:18 +03:00
lib.rs Fix progress token is already registered crash 2021-01-10 18:02:02 +03:00
line_endings.rs Simplify 2020-06-28 01:30:45 +03:00
lsp_ext.rs Initial implementation of view-hir command 2020-12-28 18:29:58 +00:00
lsp_utils.rs More maintainable caps config 2021-01-05 17:46:57 +03:00
main_loop.rs Fix progress token is already registered crash 2021-01-10 18:02:02 +03:00
markdown.rs Formatting. 2021-01-01 17:31:32 +01:00
op_queue.rs Fix progress token is already registered crash 2021-01-10 18:02:02 +03:00
reload.rs Fix progress token is already registered crash 2021-01-10 18:02:02 +03:00
request_metrics.rs Flatten module hierarchy 2020-06-24 18:57:30 +02:00
semantic_tokens.rs Split punctuation semantic highlighting up into more tags 2021-01-10 13:33:03 +01:00
thread_pool.rs Improve prime_caches and display its progress 2020-10-12 13:35:01 +02:00
to_proto.rs Split punctuation semantic highlighting up into more tags 2021-01-10 13:33:03 +01:00