rust/crates
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
..
arena
assists Better fixture highlight 2021-01-07 19:11:27 +03:00
base_db Better fixture highlight 2021-01-07 19:11:27 +03:00
cfg Upgrade expect-test to 1.1 2021-01-03 14:43:29 +01:00
completion Avoid string copy in complete_attribute 2021-01-10 12:19:00 +02:00
flycheck Refactor out JodChild 2021-01-08 01:08:34 +08:00
hir Use hir::GenericParam in ide_db::Definition instead of relisting all 3 2021-01-10 12:33:47 +01:00
hir_def Merge #7145 2021-01-08 03:57:11 +00:00
hir_expand Merge #7145 2021-01-08 03:57:11 +00:00
hir_ty Merge #7145 2021-01-08 03:57:11 +00:00
ide Merge #6238 2021-01-10 12:45:07 +00:00
ide_db Use hir::GenericParam in ide_db::Definition instead of relisting all 3 2021-01-10 12:33:47 +01:00
mbe Add test 2021-01-08 14:00:23 +08:00
parser parser,syntax: Add separate parser for stmt with optional semicolon 2021-01-03 12:05:52 +01:00
paths
proc_macro_api Remove serde_stacker which depends on cc 2021-01-01 15:26:55 +08:00
proc_macro_srv Replace last usages of difference with dissimilar 2021-01-06 18:13:29 +01:00
proc_macro_test
profile Less confusing instr stat 2021-01-06 18:16:04 +03:00
project_model Report progress for cargo metadata and output-dir 2021-01-08 01:18:58 +08:00
rust-analyzer Fix progress token is already registered crash 2021-01-10 18:02:02 +03:00
ssr Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
stdx Cleaner API 2021-01-10 14:36:15 +03:00
syntax Change <|> to $0 - Rebase 2021-01-07 12:09:23 +00:00
test_utils Better fixture highlight 2021-01-07 19:11:27 +03:00
text_edit
toolchain
tt Refactor TokenBuffer for reduc cloning 2021-01-05 02:00:46 +08:00
vfs Use file_set::FileSet and FileSet consistently in doc 2021-01-07 12:18:25 +01:00
vfs-notify