diff options
| author | bors <bors@rust-lang.org> | 2022-11-02 10:15:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-02 10:15:18 +0000 |
| commit | 12ced8f9dbe800824a03ab7502c908c2167b7e9b (patch) | |
| tree | e58ce14aba5c7c7887bba9043d6817fe45526552 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | c1305fa5d92640ce847dc8e6aeefd53cb6302dbf (diff) | |
| parent | 98125b9f957be6fe4466bd266592a513cf4352b1 (diff) | |
| download | rust-12ced8f9dbe800824a03ab7502c908c2167b7e9b.tar.gz rust-12ced8f9dbe800824a03ab7502c908c2167b7e9b.zip | |
Auto merge of #13517 - feniljain:fix_completions, r=Veykril
fix: make custom expr prefix completions to understand refs Possible fix of #7929 While reviewing the postfix completion code I saw that while calling `add_custom_postfix_completions` we were doing it under the part where reference was not taken into consideration, but as we are only adding postfix completions with `Expr` scope ( [source](https://github.com/rust-lang/rust-analyzer/blob/ba28e19b7838e3ad4223ae82d074dc3950ef1548/crates/ide-completion/src/completions/postfix.rs#L272) ) I shifted the `add_custom_postfix_completions` call to part where references are considered I am not sure if this is the correct fix or I am understanding the problem exactly but this small move seemed to have fixed the issue :)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
