diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-05 10:53:24 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-05 10:53:24 +0000 |
commit | 4bc1ed7d592819bf2a29f7be376e0c09f190c345 (patch) | |
tree | 12dc6be25d33112a201c829670f21998ab38a2ff /crates/syntax/test_data/parser/fragments | |
parent | 18dbb8f5c7714e4c711702232919e482313e1041 (diff) | |
parent | f08109bd2d2fdfe52b0443d5db2f33934aeca5c3 (diff) |
Merge #7162
7162: Introduce queries to avoid problems when performing completion for enums with many variants r=matklad a=danielframpton
This change introduces two new queries to compute:
1) attributes for all variants of an enum, and
2) attributes for all fields of a variant.
The purpose of this change is to avoid the current n^2 behavior when rendering completion for variants (which prevents completion for enums with large numbers of variants).
Co-authored-by: Daniel Frampton <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/parser/fragments')
0 files changed, 0 insertions, 0 deletions