diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-29 14:35:28 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-29 14:35:28 +0000 |
commit | b67f695956e17314b16f262cce9884f6d99c50dc (patch) | |
tree | 5b0a4d636639a6df2d079975590b14b0ae9afdec /crates/ra_lsp_server/tests | |
parent | e3c81b67ffb97f5ac34af54d7c42033f7830bf2f (diff) | |
parent | 6d219c9a10a99e480c39c2382053105028d33247 (diff) |
Merge #2942
2942: Properly select a target for auto importing r=matklad a=SomeoneToIgnore
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/2932
The corresponding test has the caret placed in the beggining of the document despite the import inserted, but I don't thing I should fix it here:
* in real life, there's some text written before the import and for those cases the caret behaves normally
* it's a separate functionality that needs to be refactored anyway later (the `auto_import_text_edit`)
Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/tests')
0 files changed, 0 insertions, 0 deletions