diff options
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 197d8c4fd..eb19d8be1 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -26,7 +26,6 @@ mod macros; | |||
26 | mod name; | 26 | mod name; |
27 | mod module_tree; | 27 | mod module_tree; |
28 | mod nameres; | 28 | mod nameres; |
29 | mod function; | ||
30 | mod adt; | 29 | mod adt; |
31 | mod type_ref; | 30 | mod type_ref; |
32 | mod ty; | 31 | mod ty; |
@@ -48,21 +47,15 @@ pub use self::{ | |||
48 | ids::{HirFileId, DefId, DefLoc, MacroCallId, MacroCallLoc}, | 47 | ids::{HirFileId, DefId, DefLoc, MacroCallId, MacroCallLoc}, |
49 | macros::{MacroDef, MacroInput, MacroExpansion}, | 48 | macros::{MacroDef, MacroInput, MacroExpansion}, |
50 | nameres::{ItemMap, PerNs, Namespace, Resolution}, | 49 | nameres::{ItemMap, PerNs, Namespace, Resolution}, |
51 | function::{Function, FnSignature, FnScopes, ScopesWithSyntaxMapping}, | ||
52 | ty::Ty, | 50 | ty::Ty, |
53 | impl_block::{ImplBlock, ImplItem}, | 51 | impl_block::{ImplBlock, ImplItem}, |
52 | code_model_impl::function::{FnScopes, ScopesWithSyntaxMapping}, | ||
54 | }; | 53 | }; |
55 | 54 | ||
56 | pub use self::code_model_api::{ | 55 | pub use self::code_model_api::{ |
57 | Crate, CrateDependency, | 56 | Crate, CrateDependency, |
57 | Def, | ||
58 | Module, ModuleSource, Problem, | 58 | Module, ModuleSource, Problem, |
59 | Struct, Enum, VariantData, StructField, | 59 | Struct, Enum, VariantData, StructField, |
60 | Function, FnSignature, | ||
60 | }; | 61 | }; |
61 | |||
62 | pub enum Def { | ||
63 | Module(Module), | ||
64 | Function(Function), | ||
65 | Struct(Struct), | ||
66 | Enum(Enum), | ||
67 | Item, | ||
68 | } | ||