make module module private
This commit is contained in:
parent
b7049ea543
commit
93fae08261
@ -11,9 +11,9 @@ use rustc_hash::{FxHashMap};
|
||||
|
||||
use crate::{
|
||||
db::{self, SyntaxDatabase},
|
||||
hir::{
|
||||
module::{ModuleDescriptor}
|
||||
},
|
||||
hir::
|
||||
ModuleDescriptor
|
||||
,
|
||||
Cancelable, FilePosition
|
||||
};
|
||||
|
||||
|
@ -11,7 +11,7 @@ use crate::{
|
||||
db::RootDatabase,
|
||||
completion::CompletionItem,
|
||||
hir::{
|
||||
module::{ModuleDescriptor},
|
||||
ModuleDescriptor,
|
||||
function::FnScopes,
|
||||
Def,
|
||||
Path,
|
||||
|
@ -6,7 +6,7 @@
|
||||
//! applied. So, there relation between syntax and HIR is many-to-one.
|
||||
|
||||
pub(crate) mod function;
|
||||
pub(crate) mod module;
|
||||
mod module;
|
||||
pub(crate) mod db;
|
||||
mod path;
|
||||
mod query_definitions;
|
||||
@ -26,7 +26,7 @@ use crate::{
|
||||
|
||||
pub(crate) use self::{
|
||||
path::{Path, PathKind},
|
||||
module::{ModuleDescriptor, nameres::FileItemId},
|
||||
module::{ModuleDescriptor, ModuleId, Problem, nameres::FileItemId},
|
||||
function::FunctionDescriptor,
|
||||
};
|
||||
|
||||
|
@ -22,7 +22,7 @@ use crate::{
|
||||
hir::{
|
||||
FunctionDescriptor, ModuleDescriptor,
|
||||
function::FnDescriptor,
|
||||
module::{Problem},
|
||||
Problem,
|
||||
DeclarationDescriptor,
|
||||
},
|
||||
input::{FilesDatabase, SourceRoot, SourceRootId, WORKSPACE},
|
||||
|
@ -9,8 +9,7 @@ use rustc_hash::FxHashMap;
|
||||
|
||||
use crate::{
|
||||
FileId,
|
||||
hir::FileItemId,
|
||||
hir::module::ModuleId,
|
||||
hir::{FileItemId, ModuleId},
|
||||
syntax_ptr::SyntaxPtr,
|
||||
input::SourceRootId,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user