aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-28 16:27:49 +0000
committerAleksey Kladov <[email protected]>2020-02-28 16:28:29 +0000
commite7c82eab21d76ba69266786463deced4863e732f (patch)
treedd7e4dd84e6bb0554321a45839110f41abdbd1e3 /crates
parentc692e07b4ff648fea742c53c0dbad57d6f652068 (diff)
Reduce visibility
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_hir/src/lib.rs4
-rw-r--r--crates/ra_hir/src/semantics.rs2
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
29mod semantics; 29mod semantics;
30pub mod db; 30pub mod db;
31pub mod source_analyzer; 31mod source_analyzer;
32pub mod source_binder; 32mod source_binder;
33 33
34pub mod diagnostics; 34pub 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.
27pub struct Semantics<'db, DB> { 27pub 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