mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
assume valid identifier
This commit is contained in:
parent
ee1d6cffbf
commit
53be26df50
1 changed files with 1 additions and 5 deletions
|
@ -81,11 +81,7 @@ pub(crate) fn goto_type_definition(
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
if res.is_empty() {
|
Some(RangeInfo::new(range, res))
|
||||||
None
|
|
||||||
} else {
|
|
||||||
Some(RangeInfo::new(range, res))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
Loading…
Reference in a new issue