mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Less lifetines: derive SemanticsScope in place
This commit is contained in:
parent
db61d4ea13
commit
dccbb38d2e
7 changed files with 49 additions and 50 deletions
|
@ -150,7 +150,7 @@ pub fn resolve_completion_edits(
|
|||
let current_crate = current_module.krate();
|
||||
|
||||
let (import_path, item_to_import) =
|
||||
items_locator::with_for_exact_name(&ctx.sema, current_crate, imported_name)
|
||||
items_locator::with_exact_name(&ctx.sema, current_crate, imported_name)
|
||||
.into_iter()
|
||||
.filter_map(|candidate| {
|
||||
current_module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue