aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/hir/function/mod.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-11-28 00:31:50 +0000
committerAleksey Kladov <[email protected]>2018-11-28 00:31:50 +0000
commitf66e5b6e6b6f7b2b899ef4207dfe46655d77334c (patch)
treeab85d22708e1f1e994e1337b851ce8d094e13d7a /crates/ra_analysis/src/hir/function/mod.rs
parent11168c464cd962af3336a2cc68295496066edd6c (diff)
move ids to HIR
Diffstat (limited to 'crates/ra_analysis/src/hir/function/mod.rs')
-rw-r--r--crates/ra_analysis/src/hir/function/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_analysis/src/hir/function/mod.rs b/crates/ra_analysis/src/hir/function/mod.rs
index e64a9f045..a399d2a9e 100644
--- a/crates/ra_analysis/src/hir/function/mod.rs
+++ b/crates/ra_analysis/src/hir/function/mod.rs
@@ -11,12 +11,11 @@ use ra_syntax::{
11}; 11};
12 12
13use crate::{ 13use crate::{
14 hir::{HirDatabase, SourceItemId}, 14 hir::{FnId, HirDatabase, SourceItemId},
15 FileId, 15 FileId,
16}; 16};
17 17
18pub(crate) use self::scope::FnScopes; 18pub(crate) use self::scope::FnScopes;
19pub(crate) use crate::loc2id::FnId;
20 19
21impl FnId { 20impl FnId {
22 pub(crate) fn get(db: &impl HirDatabase, file_id: FileId, fn_def: ast::FnDef) -> FnId { 21 pub(crate) fn get(db: &impl HirDatabase, file_id: FileId, fn_def: ast::FnDef) -> FnId {