]> git.lizzy.rs Git - rust.git/commit
Merge #8131
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sun, 21 Mar 2021 09:51:06 +0000 (09:51 +0000)
committerGitHub <noreply@github.com>
Sun, 21 Mar 2021 09:51:06 +0000 (09:51 +0000)
commit0d40ff5e623b3670ce3e0e324ecbab3e5197aaeb
treeb376f04aa3bd91eb13007e1a334327a45e45753c
parent09412d85fc3137d6ada3b27170e14c287f1a1191
parentb17d99c0706674c7549aca4670f915aa0b0e2f4e
Merge #8131

8131: Do smart case fuzzy search during flyimports r=SomeoneToIgnore a=SomeoneToIgnore

For now, last actionable part of https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/autoimport.20weirdness

Should help https://github.com/rust-analyzer/rust-analyzer/issues/7902

Now during the flyimport completion, if the input is searched case-sensitively, if the input contains any non-lowercase letters; otherwise the lookup done as before, case-insensitively.

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>