diff options
author | Aleksey Kladov <[email protected]> | 2018-11-28 00:31:50 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-11-28 00:31:50 +0000 |
commit | f66e5b6e6b6f7b2b899ef4207dfe46655d77334c (patch) | |
tree | ab85d22708e1f1e994e1337b851ce8d094e13d7a /crates/ra_analysis/src/hir/function | |
parent | 11168c464cd962af3336a2cc68295496066edd6c (diff) |
move ids to HIR
Diffstat (limited to 'crates/ra_analysis/src/hir/function')
-rw-r--r-- | crates/ra_analysis/src/hir/function/mod.rs | 3 |
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 | ||
13 | use crate::{ | 13 | use crate::{ |
14 | hir::{HirDatabase, SourceItemId}, | 14 | hir::{FnId, HirDatabase, SourceItemId}, |
15 | FileId, | 15 | FileId, |
16 | }; | 16 | }; |
17 | 17 | ||
18 | pub(crate) use self::scope::FnScopes; | 18 | pub(crate) use self::scope::FnScopes; |
19 | pub(crate) use crate::loc2id::FnId; | ||
20 | 19 | ||
21 | impl FnId { | 20 | impl 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 { |