mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Reduce visibility
This commit is contained in:
parent
b80fa14a85
commit
487fc448c3
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ pub(crate) enum Scope {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
pub enum TypeNs {
|
pub(crate) enum TypeNs {
|
||||||
SelfType(ImplBlock),
|
SelfType(ImplBlock),
|
||||||
GenericParam(u32),
|
GenericParam(u32),
|
||||||
Adt(Adt),
|
Adt(Adt),
|
||||||
|
@ -69,13 +69,13 @@ pub enum TypeNs {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
pub enum ResolveValueResult {
|
pub(crate) enum ResolveValueResult {
|
||||||
ValueNs(ValueNs),
|
ValueNs(ValueNs),
|
||||||
Partial(TypeNs, usize),
|
Partial(TypeNs, usize),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
pub enum ValueNs {
|
pub(crate) enum ValueNs {
|
||||||
LocalBinding(PatId),
|
LocalBinding(PatId),
|
||||||
Function(Function),
|
Function(Function),
|
||||||
Const(Const),
|
Const(Const),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue