Function rustdoc::passes::collect_intra_doc_links::resolution_failure
source · [−]fn resolution_failure(
collector: &mut LinkCollector<'_, '_>,
diag_info: DiagnosticInfo<'_>,
path_str: &str,
disambiguator: Option<Disambiguator>,
kinds: SmallVec<[ResolutionFailure<'_>; 3]>
) -> Option<(Res, Option<DefId>)>
Expand description
Reports a link that failed to resolve.
This also tries to resolve any intermediate path segments that weren’t
handled earlier. For example, if passed Item::Crate(std)
and path_str
std::io::Error::x
, this will resolve std::io::Error
.