diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-28 16:28:53 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-28 16:28:53 +0000 |
commit | d2bf2adc272197eafa56f77363edaa6c410b39cf (patch) | |
tree | dd7e4dd84e6bb0554321a45839110f41abdbd1e3 /crates | |
parent | c692e07b4ff648fea742c53c0dbad57d6f652068 (diff) | |
parent | e7c82eab21d76ba69266786463deced4863e732f (diff) |
Merge #3369
3369: Reduce visibility r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 4 | ||||
-rw-r--r-- | 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 { | |||
28 | 28 | ||
29 | mod semantics; | 29 | mod semantics; |
30 | pub mod db; | 30 | pub mod db; |
31 | pub mod source_analyzer; | 31 | mod source_analyzer; |
32 | pub mod source_binder; | 32 | mod source_binder; |
33 | 33 | ||
34 | pub mod diagnostics; | 34 | pub 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. |
27 | pub struct Semantics<'db, DB> { | 27 | pub 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 | ||