From 00df339c419fc75af6a939b75be8bef5b5a69732 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 28 Nov 2018 01:48:43 +0300 Subject: rename --- crates/ra_analysis/src/hir/db.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ra_analysis/src/hir/db.rs') diff --git a/crates/ra_analysis/src/hir/db.rs b/crates/ra_analysis/src/hir/db.rs index a226e8205..e74fcc8ad 100644 --- a/crates/ra_analysis/src/hir/db.rs +++ b/crates/ra_analysis/src/hir/db.rs @@ -8,7 +8,7 @@ use ra_syntax::{ use crate::{ FileId, db::SyntaxDatabase, - hir::{FileItems, FileItemId}, + hir::{SourceFileItems, SourceFileItemId}, hir::query_definitions, hir::function::{FnId, FnScopes}, hir::module::{ @@ -33,13 +33,13 @@ pub(crate) trait HirDatabase: SyntaxDatabase { use fn query_definitions::fn_syntax; } - fn file_items(file_id: FileId) -> Arc { - type FileItemsQuery; + fn file_items(file_id: FileId) -> Arc { + type SourceFileItemsQuery; storage dependencies; use fn query_definitions::file_items; } - fn file_item(file_id: FileId, file_item_id: FileItemId) -> SyntaxNode { + fn file_item(file_id: FileId, file_item_id: SourceFileItemId) -> SyntaxNode { type FileItemQuery; storage dependencies; use fn query_definitions::file_item; -- cgit v1.2.3