Skip to main content

own_part_names

Function own_part_names 

pub fn own_part_names(
    index: &ProjectIndex,
    ctx: &DocLinkContext<'_>,
) -> Vec<String>
Expand description

#2459: the names resolve_doc_link_in resolves as the attached declaration’s own parts (member and parameter names, bare), for the did-you-mean candidates of the unresolved-link hint. Only names that resolve (a name defined as two member kinds is ambiguous, so never one).