aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-04-13 08:49:01 +0100
committerAleksey Kladov <[email protected]>2019-04-13 08:49:01 +0100
commitf4a94e74bcd6c8f9275a57a775e64314af1878da (patch)
treed10b8da727d6b581a78d79e660fe05218e5b80d3 /crates/ra_ide_api/src
parent30481808fbfea109f324dfaf93daaaebacc75333 (diff)
fold ScopeWithSyntax into SourceAnalyzer
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r--crates/ra_ide_api/src/references.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/references.rs b/crates/ra_ide_api/src/references.rs
index ee2c1d0f0..9f655d83c 100644
--- a/crates/ra_ide_api/src/references.rs
+++ b/crates/ra_ide_api/src/references.rs
@@ -65,7 +65,7 @@ pub(crate) fn find_all_refs(
65 let declaration = NavigationTarget::from_bind_pat(position.file_id, binding); 65 let declaration = NavigationTarget::from_bind_pat(position.file_id, binding);
66 66
67 let references = analyzer 67 let references = analyzer
68 .find_all_refs(binding)? 68 .find_all_refs(binding)
69 .into_iter() 69 .into_iter()
70 .map(move |ref_desc| FileRange { file_id: position.file_id, range: ref_desc.range }) 70 .map(move |ref_desc| FileRange { file_id: position.file_id, range: ref_desc.range })
71 .collect::<Vec<_>>(); 71 .collect::<Vec<_>>();