From abf2179c0b606730acadc61451739baecfa33a5d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 14 Oct 2019 16:20:55 +0300 Subject: Prepare SourceDatabase API for lazy file loading --- crates/ra_cli/src/analysis_bench.rs | 2 +- crates/ra_cli/src/analysis_stats.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_cli/src') diff --git a/crates/ra_cli/src/analysis_bench.rs b/crates/ra_cli/src/analysis_bench.rs index 727f1e62b..8bbe5d9e8 100644 --- a/crates/ra_cli/src/analysis_bench.rs +++ b/crates/ra_cli/src/analysis_bench.rs @@ -8,7 +8,7 @@ use std::{ use ra_db::{ salsa::{Database, Durability}, - FileId, SourceDatabase, + FileId, SourceDatabaseExt, }; use ra_ide_api::{Analysis, AnalysisChange, AnalysisHost, FilePosition, LineCol}; diff --git a/crates/ra_cli/src/analysis_stats.rs b/crates/ra_cli/src/analysis_stats.rs index fe4f57dcd..35c867dce 100644 --- a/crates/ra_cli/src/analysis_stats.rs +++ b/crates/ra_cli/src/analysis_stats.rs @@ -2,7 +2,7 @@ use std::{collections::HashSet, fmt::Write, path::Path, time::Instant}; -use ra_db::SourceDatabase; +use ra_db::SourceDatabaseExt; use ra_hir::{AssocItem, Crate, HasBodySource, HasSource, HirDisplay, ModuleDef, Ty, TypeWalk}; use ra_syntax::AstNode; -- cgit v1.2.3