aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/code_model.rs3
-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.rs12
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
3pub(crate) mod src;
4
5use std::sync::Arc; 2use std::sync::Arc;
6 3
7use either::Either; 4use 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;
36mod from_id; 36mod from_id;
37mod code_model; 37mod code_model;
38 38
39pub mod from_source; 39mod has_source;
40mod from_source;
40 41
41pub use crate::{ 42pub 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