Merge assoc_items_only and exclude_import_kinds into assoc_mode

This commit is contained in:
Ryo Yoshida 2023-06-29 18:39:37 +09:00
parent 97b725e269
commit 8cd4e9f7ec
No known key found for this signature in database
GPG key ID: E25698A930586171
5 changed files with 49 additions and 143 deletions

View file

@ -231,7 +231,7 @@ pub fn resolve_completion_edits(
&sema,
current_crate,
NameToImport::exact_case_sensitive(imported_name),
items_locator::AssocItemSearch::Include,
items_locator::AssocSearchMode::Include,
Some(items_locator::DEFAULT_QUERY_SEARCH_LIMIT.inner()),
);
let import = items_with_name