Stream: t-compiler/rust-analyzer

Topic: Auto-deref in completion scoring


ivan770 (Mar 13 2021 at 10:26, on Zulip):

When trying to reproduce issue, I'm stuck with auto-deref fields being treated as exact matches without any code changes. test expects string slice, and inner_str is the first one under caret no matter what. image.png

ivan770 (Mar 13 2021 at 10:27, on Zulip):

Exact issue is https://github.com/rust-analyzer/rust-analyzer/issues/7982

Florian Diebold (Mar 13 2021 at 10:46, on Zulip):

I think what the issue is talking about is that e.g. String should be treated as a type match for str?

ivan770 (Mar 13 2021 at 11:13, on Zulip):

Thanks! Finally got reproduced and fixed

Last update: Jul 24 2021 at 21:30UTC