Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_db/src/items_locator.rs')
-rw-r--r--crates/ide_db/src/items_locator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_db/src/items_locator.rs b/crates/ide_db/src/items_locator.rs
index 891b7c8e92..07a57c883b 100644
--- a/crates/ide_db/src/items_locator.rs
+++ b/crates/ide_db/src/items_locator.rs
@@ -115,7 +115,7 @@ fn find_items<'a>(
});
// Query the local crate using the symbol index.
- let local_results = symbol_index::crate_symbols(db, krate.into(), local_query)
+ let local_results = symbol_index::crate_symbols(db, krate, local_query)
.into_iter()
.filter_map(move |local_candidate| get_name_definition(sema, &local_candidate))
.filter_map(|name_definition_to_import| match name_definition_to_import {