From e7c82eab21d76ba69266786463deced4863e732f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 28 Feb 2020 17:27:49 +0100 Subject: Reduce visibility --- crates/ra_hir/src/lib.rs | 4 ++-- 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 { mod semantics; pub mod db; -pub mod source_analyzer; -pub mod source_binder; +mod source_analyzer; +mod source_binder; pub mod diagnostics; 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; /// Primary API to get semantic information, like types, from syntax trees. pub struct Semantics<'db, DB> { pub db: &'db DB, - pub(crate) sb: RefCell, + sb: RefCell, cache: RefCell>, } -- cgit v1.2.3