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.