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_hir/src/nameres/tests | |
parent | 1555a1aa0d5d45e4b317db272c07ad3e8470553d (diff) |
Prepare SourceDatabase API for lazy file loading
Diffstat (limited to 'crates/ra_hir/src/nameres/tests')
-rw-r--r-- | crates/ra_hir/src/nameres/tests/incremental.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/nameres/tests/incremental.rs b/crates/ra_hir/src/nameres/tests/incremental.rs index c41862a0b..af9c39760 100644 --- a/crates/ra_hir/src/nameres/tests/incremental.rs +++ b/crates/ra_hir/src/nameres/tests/incremental.rs | |||
@@ -2,7 +2,7 @@ use super::*; | |||
2 | 2 | ||
3 | use std::sync::Arc; | 3 | use std::sync::Arc; |
4 | 4 | ||
5 | use ra_db::SourceDatabase; | 5 | use ra_db::{SourceDatabase, SourceDatabaseExt}; |
6 | 6 | ||
7 | fn check_def_map_is_not_recomputed(initial: &str, file_change: &str) { | 7 | fn check_def_map_is_not_recomputed(initial: &str, file_change: &str) { |
8 | let (mut db, pos) = MockDatabase::with_position(initial); | 8 | let (mut db, pos) = MockDatabase::with_position(initial); |