diff options
author | Aleksey Kladov <[email protected]> | 2020-02-28 16:27:49 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-28 16:28:29 +0000 |
commit | e7c82eab21d76ba69266786463deced4863e732f (patch) | |
tree | dd7e4dd84e6bb0554321a45839110f41abdbd1e3 /crates/ra_hir/src | |
parent | c692e07b4ff648fea742c53c0dbad57d6f652068 (diff) |
Reduce visibility
Diffstat (limited to 'crates/ra_hir/src')
-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 | ||