Reduce visibility

This commit is contained in:
Aleksey Kladov 2020-02-28 17:27:49 +01:00
parent c692e07b4f
commit e7c82eab21
2 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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<SourceBinder>,
sb: RefCell<SourceBinder>,
cache: RefCell<FxHashMap<SyntaxNode, HirFileId>>,
}