rust-analyzer/crates
bors[bot] d400fde66c
Merge #2959
2959: Rework how we send diagnostics to client r=matklad a=kiljacken

The previous way of sending from the thread pool suffered from stale diagnostics due to being canceled before we could clear the old ones.

The key change is moving to sending diagnostics from the main loop thread, but doing all the hard work in the thread pool. This should provide the best of both worlds, with little to no of the downsides.

This should hopefully fix a lot of issues, but we'll need testing in each individual issue to be sure.

Co-authored-by: Emil Lauridsen <mine809@gmail.com>
2020-02-03 11:27:31 +00:00
..
ra_arena Switch to variant-granularity field type inference 2019-11-25 00:12:36 +03:00
ra_assists Use name only when searching for an import candidate 2020-02-02 23:27:20 +02:00
ra_batch Support setting cargo features 2019-12-13 18:16:34 +08:00
ra_cargo_watch Update snapshot tests due to removed SuggestedFix 2020-02-03 12:24:57 +01:00
ra_cfg Disable doctests 2019-11-17 18:35:05 +03:00
ra_cli Fix extra parentheses warnings 2020-01-31 21:07:21 +02:00
ra_db Remove the Default impl for SourceRoot 2020-01-08 19:42:27 +01:00
ra_fmt fix 2190; add test for "replace if let with match" 2019-11-20 19:01:06 +01:00
ra_hir Merge #2982 2020-02-02 13:06:14 +00:00
ra_hir_def Require ModPath for importing 2020-02-02 14:06:51 +02:00
ra_hir_expand Code review fixes 2020-02-02 14:27:52 +02:00
ra_hir_ty Standard formatting for array types 2020-01-28 15:32:20 +01:00
ra_ide Avoid premature pessimization 2020-02-02 18:56:37 +01:00
ra_lsp_server Remove stray todo 2020-02-03 12:18:06 +01:00
ra_mbe Add details about test_repeat_bad_var current state 2019-12-30 17:12:20 +01:00
ra_parser ra_syntax: remove code duplication and token reevaluation from ast::Literal::kind() 2020-01-22 13:02:21 +02:00
ra_prof Avoid premature pessimization 2020-02-02 18:56:37 +01:00
ra_project_model Add a FIXME note 2020-01-30 18:01:38 +01:00
ra_syntax Fixed a typo 2020-01-22 13:02:21 +02:00
ra_text_edit Disable doctests 2019-11-17 18:35:05 +03:00
ra_tt Refactoring 2019-12-18 13:10:37 +08:00
ra_vfs_glob Disable doctests 2019-11-17 18:35:05 +03:00
test_utils Simplify fixture parsing 2020-01-30 13:17:56 +01:00