fn resolution_failure(
collector: &mut LinkCollector<'_, '_>,
diag_info: DiagnosticInfo<'_>,
path_str: &str,
disambiguator: Option<Disambiguator>,
kinds: SmallVec<[ResolutionFailure<'_>; 3]>,
)
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
.