diff options
-rw-r--r-- | crates/ra_hir/src/lib.rs | 4 | ||||
-rw-r--r-- | crates/ra_hir/src/semantics.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 4a85e7e36..3aa964fb6 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -28,8 +28,8 @@ macro_rules! impl_froms { | |||
28 | 28 | ||
29 | mod semantics; | 29 | mod semantics; |
30 | pub mod db; | 30 | pub mod db; |
31 | pub mod source_analyzer; | 31 | mod source_analyzer; |
32 | pub mod source_binder; | 32 | mod source_binder; |
33 | 33 | ||
34 | pub mod diagnostics; | 34 | pub mod diagnostics; |
35 | 35 | ||
diff --git a/crates/ra_hir/src/semantics.rs b/crates/ra_hir/src/semantics.rs index 178d74be1..4a9cb7b3e 100644 --- a/crates/ra_hir/src/semantics.rs +++ b/crates/ra_hir/src/semantics.rs | |||
@@ -26,7 +26,7 @@ use ra_prof::profile; | |||
26 | /// Primary API to get semantic information, like types, from syntax trees. | 26 | /// Primary API to get semantic information, like types, from syntax trees. |
27 | pub struct Semantics<'db, DB> { | 27 | pub struct Semantics<'db, DB> { |
28 | pub db: &'db DB, | 28 | pub db: &'db DB, |
29 | pub(crate) sb: RefCell<SourceBinder>, | 29 | sb: RefCell<SourceBinder>, |
30 | cache: RefCell<FxHashMap<SyntaxNode, HirFileId>>, | 30 | cache: RefCell<FxHashMap<SyntaxNode, HirFileId>>, |
31 | } | 31 | } |
32 | 32 | ||