This commit is contained in:
Joshua Nelson 2020-08-23 22:41:45 -04:00
parent 73de34319e
commit 25cfd57b49

View file

@ -741,13 +741,8 @@ impl<'a, 'tcx> DocFolder for LinkCollector<'a, 'tcx> {
match disambiguator.map(Disambiguator::ns) {
Some(ns @ (ValueNS | TypeNS)) => {
match self.resolve(
path_str,
ns,
&current_item,
base_node,
&extra_fragment,
) {
match self.resolve(path_str, ns, &current_item, base_node, &extra_fragment)
{
Ok(res) => res,
Err(ErrorKind::ResolutionFailure) => {
resolution_failure(cx, &item, path_str, &dox, link_range);