diff options
Diffstat (limited to 'crates/ra_hir')
-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), |