diff options
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/lib.rs | 5 | ||||
-rw-r--r-- | crates/ra_ide/src/references.rs | 4 | ||||
-rw-r--r-- | crates/ra_ide/src/references/search_scope.rs | 1 |
3 files changed, 4 insertions, 6 deletions
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs index f61028f78..5a41f702e 100644 --- a/crates/ra_ide/src/lib.rs +++ b/crates/ra_ide/src/lib.rs | |||
@@ -68,9 +68,7 @@ pub use crate::{ | |||
68 | folding_ranges::{Fold, FoldKind}, | 68 | folding_ranges::{Fold, FoldKind}, |
69 | hover::HoverResult, | 69 | hover::HoverResult, |
70 | inlay_hints::{InlayHint, InlayKind}, | 70 | inlay_hints::{InlayHint, InlayKind}, |
71 | references::{ | 71 | references::{Declaration, Reference, ReferenceAccess, ReferenceKind, ReferenceSearchResult}, |
72 | Declaration, Reference, ReferenceAccess, ReferenceKind, ReferenceSearchResult, SearchScope, | ||
73 | }, | ||
74 | runnables::{Runnable, RunnableKind, TestId}, | 72 | runnables::{Runnable, RunnableKind, TestId}, |
75 | source_change::{FileSystemEdit, SourceChange, SourceFileEdit}, | 73 | source_change::{FileSystemEdit, SourceChange, SourceFileEdit}, |
76 | ssr::SsrError, | 74 | ssr::SsrError, |
@@ -88,6 +86,7 @@ pub use ra_ide_db::{ | |||
88 | feature_flags::FeatureFlags, | 86 | feature_flags::FeatureFlags, |
89 | line_index::{LineCol, LineIndex}, | 87 | line_index::{LineCol, LineIndex}, |
90 | line_index_utils::translate_offset_with_edit, | 88 | line_index_utils::translate_offset_with_edit, |
89 | search::SearchScope, | ||
91 | symbol_index::Query, | 90 | symbol_index::Query, |
92 | RootDatabase, | 91 | RootDatabase, |
93 | }; | 92 | }; |
diff --git a/crates/ra_ide/src/references.rs b/crates/ra_ide/src/references.rs index 8eba13e99..6e2bf4ded 100644 --- a/crates/ra_ide/src/references.rs +++ b/crates/ra_ide/src/references.rs | |||
@@ -10,11 +10,11 @@ | |||
10 | //! resolved to the search element definition, we get a reference. | 10 | //! resolved to the search element definition, we get a reference. |
11 | 11 | ||
12 | mod rename; | 12 | mod rename; |
13 | mod search_scope; | ||
14 | 13 | ||
15 | use hir::Semantics; | 14 | use hir::Semantics; |
16 | use ra_ide_db::{ | 15 | use ra_ide_db::{ |
17 | defs::{classify_name, classify_name_ref, Definition}, | 16 | defs::{classify_name, classify_name_ref, Definition}, |
17 | search::SearchScope, | ||
18 | RootDatabase, | 18 | RootDatabase, |
19 | }; | 19 | }; |
20 | use ra_prof::profile; | 20 | use ra_prof::profile; |
@@ -28,7 +28,7 @@ use crate::{display::TryToNav, FilePosition, FileRange, NavigationTarget, RangeI | |||
28 | 28 | ||
29 | pub(crate) use self::rename::rename; | 29 | pub(crate) use self::rename::rename; |
30 | 30 | ||
31 | pub use ra_ide_db::search::{Reference, ReferenceAccess, ReferenceKind, SearchScope}; | 31 | pub use ra_ide_db::search::{Reference, ReferenceAccess, ReferenceKind}; |
32 | 32 | ||
33 | #[derive(Debug, Clone)] | 33 | #[derive(Debug, Clone)] |
34 | pub struct ReferenceSearchResult { | 34 | pub struct ReferenceSearchResult { |
diff --git a/crates/ra_ide/src/references/search_scope.rs b/crates/ra_ide/src/references/search_scope.rs deleted file mode 100644 index 8b1378917..000000000 --- a/crates/ra_ide/src/references/search_scope.rs +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | |||