aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/syntax_highlighting/test_data
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-07 00:47:39 +0100
committerGitHub <[email protected]>2021-04-07 00:47:39 +0100
commit3e7ac2b830f692fd993a9b30b6be96a4206b8229 (patch)
tree0067e28fc96755b5b145a6816fea1d4c9f020026 /crates/ide/src/syntax_highlighting/test_data
parenta35f7cb6355f00a71a24338eb2d3bfc2920eccb4 (diff)
parente1e6e3b925bf7e0f6ca6cbc0d63d59572752653d (diff)
Merge #8389
8389: Do not import on the fly during fields of record literal syntax r=SomeoneToIgnore a=memoryruins When only fields are relevant during record literal syntax (`Foo { field_$0 }`), RA already avoids completions of in-scope items, but with `rust-analyzer.completion.enableAutoimportCompletions` enabled, more than field names were eagerly suggested. This PR adds a case to `import_on_the_fly` to avoid the extra completions in this context. Closes #8300 Co-authored-by: memoryruins <[email protected]>
Diffstat (limited to 'crates/ide/src/syntax_highlighting/test_data')
0 files changed, 0 insertions, 0 deletions