rust-analyzer/crates
bors[bot] 8ea7c9cb62
Merge #3826
3826: Flatten nested highlight ranges during DFS traversal r=matklad a=ltentrup

Implements the flattening of nested highlights from #3447.


There is a caveat: I needed to add `Clone` to `HighlightedRange` to split highlight ranges  ~and the nesting does not appear in the syntax highlighting test (it does appear in the accidental-quadratic test but there it is not checked against a ground-truth)~.

I have added a test case for the example mentioned in #3447.

Co-authored-by: Leander Tentrup <leander.tentrup@gmail.com>
2020-04-08 12:00:08 +00:00
..
ra_arena Use resize_with 2020-03-31 09:02:12 -04:00
ra_assists Check for eprintln on CI 2020-04-06 17:00:18 +02:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db Merge #3727 2020-03-26 17:09:32 +00:00
ra_flycheck Centralize defaults 2020-04-01 18:56:47 +02:00
ra_fmt update itertools version to 0.9.0 2020-03-23 16:22:46 -07:00
ra_hir Move computation of missing fields into hir 2020-04-07 18:34:17 +02:00
ra_hir_def Check for eprintln on CI 2020-04-06 17:00:18 +02:00
ra_hir_expand Fix unnecessary braces warnings 2020-04-06 17:21:33 +03:00
ra_hir_ty Move computation of missing fields into hir 2020-04-07 18:34:17 +02:00
ra_ide Merge #3826 2020-04-08 12:00:08 +00:00
ra_ide_db Fix unnecessary braces warnings 2020-04-06 17:21:33 +03:00
ra_mbe Add L_DOLLAR for TYPE_RECOVERY_SET 2020-04-08 18:34:20 +08:00
ra_parser Add L_DOLLAR for TYPE_RECOVERY_SET 2020-04-08 18:34:20 +08:00
ra_proc_macro Introduce ra_proc_macro_srv 2020-04-03 19:01:44 +08:00
ra_proc_macro_srv fmt 2020-04-08 12:19:41 +02:00
ra_prof Fix race in the tests 2020-03-30 11:33:01 +02:00
ra_project_model Migrate to privacy as per review commets 2020-04-02 21:09:03 +03:00
ra_syntax Merge pull request #3863 from Veetaha/feature/migrate-to-rast 2020-04-07 13:10:43 +02:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Implement ra_proc_macro client logic 2020-03-31 22:20:18 +08:00
rust-analyzer fix cargo check config with custom command 2020-04-06 21:41:31 -07:00
stdx Check for eprintln on CI 2020-04-06 17:00:18 +02:00
test_utils Migrate tests .txt -> .rast 2020-04-06 14:04:26 +03:00