mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
move source_id to a separate file
This commit is contained in:
parent
8254244e49
commit
0b820cacab
8 changed files with 128 additions and 120 deletions
|
@ -23,6 +23,7 @@ pub mod mock;
|
|||
mod path;
|
||||
pub mod source_binder;
|
||||
|
||||
mod source_id;
|
||||
mod ids;
|
||||
mod name;
|
||||
mod nameres;
|
||||
|
@ -47,12 +48,13 @@ mod marks;
|
|||
use crate::{
|
||||
db::{HirDatabase, DefDatabase},
|
||||
name::{AsName, KnownName},
|
||||
ids::{SourceItemId, SourceFileItems},
|
||||
source_id::SourceFileItemId,
|
||||
};
|
||||
|
||||
pub use self::{
|
||||
path::{Path, PathKind},
|
||||
name::Name,
|
||||
source_id::{SourceFileItems, SourceItemId},
|
||||
ids::{HirFileId, MacroDefId, MacroCallId, MacroCallLoc, HirInterner},
|
||||
nameres::{PerNs, Namespace},
|
||||
ty::{Ty, ApplicationTy, TypeCtor, Substs, display::HirDisplay},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue