rustdoc::passes::collect_intra_doc_links

Function suggest_disambiguator

Source
fn suggest_disambiguator(
    res: Res,
    diag: &mut Diag<'_, ()>,
    path_str: &str,
    link_range: MarkdownLinkRange,
    sp: Option<Span>,
    diag_info: &DiagnosticInfo<'_>,
)
Expand description

In case of an ambiguity or mismatched disambiguator, suggest the correct disambiguator.