Skip to main content

find_references_codebase_with_target

Function find_references_codebase_with_target 

Source
pub fn find_references_codebase_with_target(
    _word: &str,
    _all_docs: &[(Url, Arc<ParsedDoc>)],
    _include_declaration: bool,
    kind: Option<SymbolKind>,
    _target_fqn: Option<&str>,
    _codebase: &MirDb,
    _lookup_refs: &RefLookup<'_>,
) -> Option<Vec<Location>>
Expand description

Like find_references_codebase but accepts an exact FQN (for Function/Class) or owning FQCN (for Method) to avoid short-name collisions across namespaces and unrelated classes. When target_fqn is None, behaves identically to find_references_codebase.