From 9457b1f0e64d38e7dc24d8c66a52ffef759d4dbf Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 26 Jan 2019 11:51:36 +0300 Subject: rename source_file -> parse --- crates/ra_ide_api/src/status.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_ide_api/src/status.rs') diff --git a/crates/ra_ide_api/src/status.rs b/crates/ra_ide_api/src/status.rs index 59159df98..e11eed223 100644 --- a/crates/ra_ide_api/src/status.rs +++ b/crates/ra_ide_api/src/status.rs @@ -6,7 +6,7 @@ use std::{ use ra_syntax::{AstNode, TreeArc, SourceFile}; use ra_db::{ - SourceFileQuery, FileTextQuery, SourceRootId, + ParseQuery, FileTextQuery, SourceRootId, salsa::{Database, debug::{DebugQueryTable, TableEntry}}, }; @@ -17,7 +17,7 @@ use crate::{ pub(crate) fn status(db: &RootDatabase) -> String { let files_stats = db.query(FileTextQuery).entries::(); - let syntax_tree_stats = db.query(SourceFileQuery).entries::(); + let syntax_tree_stats = db.query(ParseQuery).entries::(); let symbols_stats = db .query(LibrarySymbolsQuery) .entries::(); -- cgit v1.2.3