diff options
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index c19450f39..9292de1b5 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -17,6 +17,8 @@ macro_rules! impl_froms { | |||
17 | } | 17 | } |
18 | } | 18 | } |
19 | 19 | ||
20 | mod either; | ||
21 | |||
20 | pub mod db; | 22 | pub mod db; |
21 | #[macro_use] | 23 | #[macro_use] |
22 | pub mod mock; | 24 | pub mod mock; |
@@ -49,20 +51,24 @@ use crate::{ | |||
49 | db::{HirDatabase, DefDatabase}, | 51 | db::{HirDatabase, DefDatabase}, |
50 | name::{AsName, KnownName}, | 52 | name::{AsName, KnownName}, |
51 | source_id::{FileAstId, AstId}, | 53 | source_id::{FileAstId, AstId}, |
54 | resolve::Resolver, | ||
52 | }; | 55 | }; |
53 | 56 | ||
54 | pub use self::{ | 57 | pub use self::{ |
58 | either::Either, | ||
55 | path::{Path, PathKind}, | 59 | path::{Path, PathKind}, |
56 | name::Name, | 60 | name::Name, |
57 | source_id::{AstIdMap, ErasedFileAstId}, | 61 | source_id::{AstIdMap, ErasedFileAstId}, |
58 | ids::{HirFileId, MacroDefId, MacroCallId, MacroCallLoc, HirInterner}, | 62 | ids::{HirFileId, MacroDefId, MacroCallId, MacroCallLoc}, |
59 | nameres::{PerNs, Namespace, ImportId, ImportSource}, | 63 | nameres::{PerNs, Namespace, ImportId}, |
60 | ty::{Ty, ApplicationTy, TypeCtor, Substs, display::HirDisplay}, | 64 | ty::{Ty, ApplicationTy, TypeCtor, TraitRef, Substs, display::HirDisplay, CallableDef}, |
61 | impl_block::{ImplBlock, ImplItem}, | 65 | impl_block::{ImplBlock, ImplItem}, |
62 | docs::{Docs, Documentation}, | 66 | docs::{Docs, Documentation}, |
63 | adt::AdtDef, | 67 | adt::AdtDef, |
64 | expr::{ExprScopes, ScopesWithSourceMap, ScopeEntryWithSyntax}, | 68 | expr::ExprScopes, |
65 | resolve::{Resolver, Resolution}, | 69 | resolve::Resolution, |
70 | generics::{GenericParams, GenericParam, HasGenericParams}, | ||
71 | source_binder::{SourceAnalyzer, PathResolution, ScopeEntryWithSyntax}, | ||
66 | }; | 72 | }; |
67 | 73 | ||
68 | pub use self::code_model_api::{ | 74 | pub use self::code_model_api::{ |
@@ -73,5 +79,5 @@ pub use self::code_model_api::{ | |||
73 | Function, FnSignature, | 79 | Function, FnSignature, |
74 | StructField, FieldSource, | 80 | StructField, FieldSource, |
75 | Static, Const, ConstSignature, | 81 | Static, Const, ConstSignature, |
76 | Trait, TypeAlias, | 82 | Trait, TypeAlias, Container, |
77 | }; | 83 | }; |