mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Reduce visibility
This commit is contained in:
parent
c692e07b4f
commit
e7c82eab21
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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>>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue