diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-08 18:04:08 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-08 18:04:08 +0000 |
commit | c9e42fcf245be16958dca6571e4bccc6c29199df (patch) | |
tree | caa02f8086ad15fb6f884e56bc6a0231b203215f /crates/ra_hir/src/code_model_impl/function | |
parent | 1c25bf05d714680c048d250a5d39e8a4c25f0c31 (diff) | |
parent | 695294bbb974cdbac136e260029403e90a17d953 (diff) |
Merge #468
468: decouple ra_editor from other stuff r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/code_model_impl/function')
-rw-r--r-- | crates/ra_hir/src/code_model_impl/function/scope.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_hir/src/code_model_impl/function/scope.rs b/crates/ra_hir/src/code_model_impl/function/scope.rs index 699784f71..ebf6edc1b 100644 --- a/crates/ra_hir/src/code_model_impl/function/scope.rs +++ b/crates/ra_hir/src/code_model_impl/function/scope.rs | |||
@@ -308,8 +308,7 @@ pub struct ReferenceDescriptor { | |||
308 | 308 | ||
309 | #[cfg(test)] | 309 | #[cfg(test)] |
310 | mod tests { | 310 | mod tests { |
311 | use ra_editor::find_node_at_offset; | 311 | use ra_syntax::{SourceFile, algo::find_node_at_offset}; |
312 | use ra_syntax::SourceFile; | ||
313 | use test_utils::{extract_offset, assert_eq_text}; | 312 | use test_utils::{extract_offset, assert_eq_text}; |
314 | 313 | ||
315 | use crate::expr; | 314 | use crate::expr; |