aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r--crates/ra_hir/src/lib.rs13
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;
26mod name; 26mod name;
27mod module_tree; 27mod module_tree;
28mod nameres; 28mod nameres;
29mod function;
30mod adt; 29mod adt;
31mod type_ref; 30mod type_ref;
32mod ty; 31mod 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
56pub use self::code_model_api::{ 55pub 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
62pub enum Def {
63 Module(Module),
64 Function(Function),
65 Struct(Struct),
66 Enum(Enum),
67 Item,
68}