diff options
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/code_model.rs | 3 | ||||
-rw-r--r-- | crates/ra_hir/src/has_source.rs (renamed from crates/ra_hir/src/code_model/src.rs) | 0 | ||||
-rw-r--r-- | crates/ra_hir/src/lib.rs | 12 |
3 files changed, 7 insertions, 8 deletions
diff --git a/crates/ra_hir/src/code_model.rs b/crates/ra_hir/src/code_model.rs index 7ac1bf461..fd30971b0 100644 --- a/crates/ra_hir/src/code_model.rs +++ b/crates/ra_hir/src/code_model.rs | |||
@@ -1,7 +1,4 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! FIXME: write short doc here |
2 | |||
3 | pub(crate) mod src; | ||
4 | |||
5 | use std::sync::Arc; | 2 | use std::sync::Arc; |
6 | 3 | ||
7 | use either::Either; | 4 | use either::Either; |
diff --git a/crates/ra_hir/src/code_model/src.rs b/crates/ra_hir/src/has_source.rs index b09582f93..b09582f93 100644 --- a/crates/ra_hir/src/code_model/src.rs +++ b/crates/ra_hir/src/has_source.rs | |||
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index bb22882b1..946299ba0 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -36,16 +36,18 @@ pub mod diagnostics; | |||
36 | mod from_id; | 36 | mod from_id; |
37 | mod code_model; | 37 | mod code_model; |
38 | 38 | ||
39 | pub mod from_source; | 39 | mod has_source; |
40 | mod from_source; | ||
40 | 41 | ||
41 | pub use crate::{ | 42 | pub use crate::{ |
42 | code_model::{ | 43 | code_model::{ |
43 | src::HasSource, Adt, AssocItem, AttrDef, Const, Container, Crate, CrateDependency, | 44 | Adt, AssocItem, AttrDef, Const, Container, Crate, CrateDependency, DefWithBody, Docs, Enum, |
44 | DefWithBody, Docs, Enum, EnumVariant, FieldSource, Function, GenericDef, HasAttrs, | 45 | EnumVariant, FieldSource, Function, GenericDef, HasAttrs, ImplBlock, Import, Local, |
45 | ImplBlock, Import, Local, MacroDef, Module, ModuleDef, ScopeDef, Static, Struct, | 46 | MacroDef, Module, ModuleDef, ScopeDef, Static, Struct, StructField, Trait, Type, TypeAlias, |
46 | StructField, Trait, Type, TypeAlias, TypeParam, Union, VariantDef, | 47 | TypeParam, Union, VariantDef, |
47 | }, | 48 | }, |
48 | from_source::FromSource, | 49 | from_source::FromSource, |
50 | has_source::HasSource, | ||
49 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, | 51 | source_binder::{PathResolution, ScopeEntryWithSyntax, SourceAnalyzer}, |
50 | }; | 52 | }; |
51 | 53 | ||