diff options
author | Aleksey Kladov <[email protected]> | 2019-10-14 14:20:55 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-14 14:23:55 +0100 |
commit | abf2179c0b606730acadc61451739baecfa33a5d (patch) | |
tree | 66ee446941554eccedce82e3b7dcb25dbe4ce6d5 /crates/ra_cli/src/analysis_stats.rs | |
parent | 1555a1aa0d5d45e4b317db272c07ad3e8470553d (diff) |
Prepare SourceDatabase API for lazy file loading
Diffstat (limited to 'crates/ra_cli/src/analysis_stats.rs')
-rw-r--r-- | crates/ra_cli/src/analysis_stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
2 | 2 | ||
3 | use std::{collections::HashSet, fmt::Write, path::Path, time::Instant}; | 3 | use std::{collections::HashSet, fmt::Write, path::Path, time::Instant}; |
4 | 4 | ||
5 | use ra_db::SourceDatabase; | 5 | use ra_db::SourceDatabaseExt; |
6 | use ra_hir::{AssocItem, Crate, HasBodySource, HasSource, HirDisplay, ModuleDef, Ty, TypeWalk}; | 6 | use ra_hir::{AssocItem, Crate, HasBodySource, HasSource, HirDisplay, ModuleDef, Ty, TypeWalk}; |
7 | use ra_syntax::AstNode; | 7 | use ra_syntax::AstNode; |
8 | 8 | ||