diff options
Diffstat (limited to 'crates/ra_hir/src/source_binder.rs')
-rw-r--r-- | crates/ra_hir/src/source_binder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/source_binder.rs b/crates/ra_hir/src/source_binder.rs index df67d2c39..4c173a4f7 100644 --- a/crates/ra_hir/src/source_binder.rs +++ b/crates/ra_hir/src/source_binder.rs | |||
@@ -361,7 +361,7 @@ impl SourceAnalyzer { | |||
361 | }) | 361 | }) |
362 | .map(|name_ref| ReferenceDescriptor { | 362 | .map(|name_ref| ReferenceDescriptor { |
363 | name: name_ref.text().to_string(), | 363 | name: name_ref.text().to_string(), |
364 | range: name_ref.syntax().range(), | 364 | range: name_ref.syntax().text_range(), |
365 | }) | 365 | }) |
366 | .collect() | 366 | .collect() |
367 | } | 367 | } |