aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-11-15 09:24:30 +0000
committerAleksey Kladov <[email protected]>2019-11-15 09:24:30 +0000
commit487fc448c3fae2f494f0e5a9e208aa012cfb6309 (patch)
treebcb1d19f4e5e6f2b822b49278ef7e5fb3b4c8e5c
parentb80fa14a850db78b1f45de95b0edde1a65da4625 (diff)
Reduce visibility
-rw-r--r--crates/ra_hir/src/resolve.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/resolve.rs b/crates/ra_hir/src/resolve.rs
index b922fe20f..2fb913108 100644
--- a/crates/ra_hir/src/resolve.rs
+++ b/crates/ra_hir/src/resolve.rs
@@ -54,7 +54,7 @@ pub(crate) enum Scope {
54} 54}
55 55
56#[derive(Debug, Clone, PartialEq, Eq, Hash)] 56#[derive(Debug, Clone, PartialEq, Eq, Hash)]
57pub enum TypeNs { 57pub(crate) enum TypeNs {
58 SelfType(ImplBlock), 58 SelfType(ImplBlock),
59 GenericParam(u32), 59 GenericParam(u32),
60 Adt(Adt), 60 Adt(Adt),
@@ -69,13 +69,13 @@ pub enum TypeNs {
69} 69}
70 70
71#[derive(Debug, Clone, PartialEq, Eq, Hash)] 71#[derive(Debug, Clone, PartialEq, Eq, Hash)]
72pub enum ResolveValueResult { 72pub(crate) enum ResolveValueResult {
73 ValueNs(ValueNs), 73 ValueNs(ValueNs),
74 Partial(TypeNs, usize), 74 Partial(TypeNs, usize),
75} 75}
76 76
77#[derive(Debug, Clone, PartialEq, Eq, Hash)] 77#[derive(Debug, Clone, PartialEq, Eq, Hash)]
78pub enum ValueNs { 78pub(crate) enum ValueNs {
79 LocalBinding(PatId), 79 LocalBinding(PatId),
80 Function(Function), 80 Function(Function),
81 Const(Const), 81 Const(Const),