Prepare SourceDatabase API for lazy file loading

This commit is contained in:
Aleksey Kladov 2019-10-14 16:20:55 +03:00
parent 1555a1aa0d
commit abf2179c0b
14 changed files with 123 additions and 90 deletions

View file

@ -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;