diff options
Diffstat (limited to 'crates/ra_ide')
-rw-r--r-- | crates/ra_ide/src/references.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_ide/src/references.rs b/crates/ra_ide/src/references.rs index 2eb047c96..9b0785e1d 100644 --- a/crates/ra_ide/src/references.rs +++ b/crates/ra_ide/src/references.rs | |||
@@ -114,6 +114,7 @@ pub(crate) fn find_all_refs( | |||
114 | position: FilePosition, | 114 | position: FilePosition, |
115 | search_scope: Option<SearchScope>, | 115 | search_scope: Option<SearchScope>, |
116 | ) -> Option<RangeInfo<ReferenceSearchResult>> { | 116 | ) -> Option<RangeInfo<ReferenceSearchResult>> { |
117 | let _p = profile("find_all_refs"); | ||
117 | let sema = Semantics::new(db); | 118 | let sema = Semantics::new(db); |
118 | let syntax = sema.parse(position.file_id).syntax().clone(); | 119 | let syntax = sema.parse(position.file_id).syntax().clone(); |
119 | 120 | ||