mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Remove ImportSource::ExternCrate as the fixed point loop can't affect it
This commit is contained in:
parent
5982d9c420
commit
f7ca085690
4 changed files with 102 additions and 138 deletions
|
@ -792,6 +792,7 @@ pub(crate) fn orig_range_with_focus_r(
|
|||
.definition_range(db)
|
||||
};
|
||||
|
||||
// FIXME: Also make use of the syntax context to determine which site we are at?
|
||||
let value_range = InFile::new(hir_file, value).original_node_file_range_opt(db);
|
||||
let ((call_site_range, call_site_focus), def_site) =
|
||||
match InFile::new(hir_file, name).original_node_file_range_opt(db) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue