aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/db.rs')
-rw-r--r--crates/ra_analysis/src/db.rs21
1 files changed, 11 insertions, 10 deletions
diff --git a/crates/ra_analysis/src/db.rs b/crates/ra_analysis/src/db.rs
index c69577233..042dde1ac 100644
--- a/crates/ra_analysis/src/db.rs
+++ b/crates/ra_analysis/src/db.rs
@@ -1,17 +1,18 @@
1use std::{
2 fmt,
3 sync::Arc,
4 hash::{Hash, Hasher},
5};
6use salsa;
7use rustc_hash::FxHashSet;
8use ra_syntax::File;
9use ra_editor::{LineIndex};
10use crate::{ 1use crate::{
2 module_map::{ModuleDescriptorQuery, ModuleTreeQuery, ModulesDatabase},
11 symbol_index::SymbolIndex, 3 symbol_index::SymbolIndex,
12 module_map::{ModulesDatabase, ModuleTreeQuery, ModuleDescriptorQuery},
13 FileId, FileResolverImp, 4 FileId, FileResolverImp,
14}; 5};
6use ra_editor::LineIndex;
7use ra_syntax::File;
8use rustc_hash::FxHashSet;
9use salsa;
10
11use std::{
12 fmt,
13 hash::{Hash, Hasher},
14 sync::Arc,
15};
15 16
16#[derive(Default)] 17#[derive(Default)]
17pub(crate) struct RootDatabase { 18pub(crate) struct RootDatabase {