Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/ra_hir/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion crates/ra_hir/src/semantics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>>,
}

Expand Down