mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Docs
This commit is contained in:
parent
a631108d2d
commit
879432452d
5 changed files with 20 additions and 15 deletions
|
@ -252,7 +252,7 @@ fn path_applicable_imports(
|
|||
|
||||
match &path_candidate.qualifier {
|
||||
None => {
|
||||
items_locator::locate_for_name(
|
||||
items_locator::items_with_name(
|
||||
sema,
|
||||
current_crate,
|
||||
path_candidate.name.clone(),
|
||||
|
@ -271,7 +271,7 @@ fn path_applicable_imports(
|
|||
let unresolved_qualifier =
|
||||
path_to_string_stripping_turbo_fish(&first_segment_unresolved.full_qualifier);
|
||||
let unresolved_first_segment = first_segment_unresolved.fist_segment.text();
|
||||
items_locator::locate_for_name(
|
||||
items_locator::items_with_name(
|
||||
sema,
|
||||
current_crate,
|
||||
path_candidate.name.clone(),
|
||||
|
@ -416,7 +416,7 @@ fn trait_applicable_items(
|
|||
let db = sema.db;
|
||||
|
||||
let mut required_assoc_items = FxHashSet::default();
|
||||
let trait_candidates = items_locator::locate_for_name(
|
||||
let trait_candidates = items_locator::items_with_name(
|
||||
sema,
|
||||
current_crate,
|
||||
trait_candidate.assoc_item_name.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue