diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-23 10:39:22 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-23 10:39:22 +0100 |
commit | 44665685257f18d182ab116855dd9e8b054c49da (patch) | |
tree | 18cd8acc433e26d7637f42e173e444739bd8e80b /crates/ra_ide_api/src/lib.rs | |
parent | 078c0e26c3ff4d9652bcb4845b5f4665c2e0989d (diff) | |
parent | 444e52e519a06e5ac397edf6fa2f4f2e06537e4e (diff) |
Merge #1311
1311: Move NameRef classification logic out of reference_definition r=matklad a=lnicola
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/lib.rs')
-rw-r--r-- | crates/ra_ide_api/src/lib.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/crates/ra_ide_api/src/lib.rs b/crates/ra_ide_api/src/lib.rs index d4be8bd6c..f78348f74 100644 --- a/crates/ra_ide_api/src/lib.rs +++ b/crates/ra_ide_api/src/lib.rs | |||
@@ -18,6 +18,7 @@ mod change; | |||
18 | mod status; | 18 | mod status; |
19 | mod completion; | 19 | mod completion; |
20 | mod runnables; | 20 | mod runnables; |
21 | mod name_ref_kind; | ||
21 | mod goto_definition; | 22 | mod goto_definition; |
22 | mod goto_type_definition; | 23 | mod goto_type_definition; |
23 | mod extend_selection; | 24 | mod extend_selection; |
@@ -53,10 +54,7 @@ use ra_db::{ | |||
53 | }; | 54 | }; |
54 | use relative_path::RelativePathBuf; | 55 | use relative_path::RelativePathBuf; |
55 | 56 | ||
56 | use crate::{ | 57 | use crate::{symbol_index::FileSymbol, db::LineIndexDatabase}; |
57 | symbol_index::FileSymbol, | ||
58 | db::LineIndexDatabase, | ||
59 | }; | ||
60 | 58 | ||
61 | pub use crate::{ | 59 | pub use crate::{ |
62 | change::{AnalysisChange, LibraryData}, | 60 | change::{AnalysisChange, LibraryData}, |
@@ -73,10 +71,7 @@ pub use crate::{ | |||
73 | display::{FunctionSignature, NavigationTarget, StructureNode, file_structure}, | 71 | display::{FunctionSignature, NavigationTarget, StructureNode, file_structure}, |
74 | }; | 72 | }; |
75 | 73 | ||
76 | pub use ra_db::{ | 74 | pub use ra_db::{Canceled, CrateGraph, CrateId, FileId, FilePosition, FileRange, SourceRootId, Edition}; |
77 | Canceled, CrateGraph, CrateId, FileId, FilePosition, FileRange, SourceRootId, | ||
78 | Edition | ||
79 | }; | ||
80 | pub use hir::Documentation; | 75 | pub use hir::Documentation; |
81 | 76 | ||
82 | // We use jemalloc mainly to get heap usage statistics, actual performance | 77 | // We use jemalloc mainly to get heap usage statistics, actual performance |