aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
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