diff options
author | Aleksey Kladov <[email protected]> | 2019-11-15 09:24:30 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-15 09:24:30 +0000 |
commit | 487fc448c3fae2f494f0e5a9e208aa012cfb6309 (patch) | |
tree | bcb1d19f4e5e6f2b822b49278ef7e5fb3b4c8e5c /crates | |
parent | b80fa14a850db78b1f45de95b0edde1a65da4625 (diff) |
Reduce visibility
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir/src/resolve.rs | 6 |
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)] |
57 | pub enum TypeNs { | 57 | pub(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)] |
72 | pub enum ResolveValueResult { | 72 | pub(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)] |
78 | pub enum ValueNs { | 78 | pub(crate) enum ValueNs { |
79 | LocalBinding(PatId), | 79 | LocalBinding(PatId), |
80 | Function(Function), | 80 | Function(Function), |
81 | Const(Const), | 81 | Const(Const), |