mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
move ids to HIR
This commit is contained in:
parent
11168c464c
commit
f66e5b6e6b
10 changed files with 71 additions and 80 deletions
|
@ -11,12 +11,11 @@ use ra_syntax::{
|
|||
};
|
||||
|
||||
use crate::{
|
||||
hir::{HirDatabase, SourceItemId},
|
||||
hir::{FnId, HirDatabase, SourceItemId},
|
||||
FileId,
|
||||
};
|
||||
|
||||
pub(crate) use self::scope::FnScopes;
|
||||
pub(crate) use crate::loc2id::FnId;
|
||||
|
||||
impl FnId {
|
||||
pub(crate) fn get(db: &impl HirDatabase, file_id: FileId, fn_def: ast::FnDef) -> FnId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue