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.rs13
1 files changed, 5 insertions, 8 deletions
diff --git a/crates/ra_analysis/src/db.rs b/crates/ra_analysis/src/db.rs
index f1ace3d5a..9ab273ad7 100644
--- a/crates/ra_analysis/src/db.rs
+++ b/crates/ra_analysis/src/db.rs
@@ -1,6 +1,4 @@
1use std::{ 1use std::sync::Arc;
2 sync::Arc,
3};
4 2
5use ra_editor::LineIndex; 3use ra_editor::LineIndex;
6use ra_syntax::File; 4use ra_syntax::File;
@@ -8,14 +6,13 @@ use salsa;
8 6
9use crate::{ 7use crate::{
10 db, 8 db,
11 Cancelable, Canceled,
12 descriptors::{ 9 descriptors::{
13 DescriptorDatabase, SubmodulesQuery, ModuleTreeQuery, ModuleScopeQuery, 10 DescriptorDatabase, FnScopesQuery, FnSyntaxQuery, ModuleScopeQuery, ModuleTreeQuery,
14 FnSyntaxQuery, FnScopesQuery 11 SubmodulesQuery,
15 }, 12 },
16 symbol_index::SymbolIndex, 13 symbol_index::SymbolIndex,
17 syntax_ptr::{SyntaxPtrDatabase, ResolveSyntaxPtrQuery}, 14 syntax_ptr::{ResolveSyntaxPtrQuery, SyntaxPtrDatabase},
18 FileId, 15 Cancelable, Canceled, FileId,
19}; 16};
20 17
21#[derive(Default, Debug)] 18#[derive(Default, Debug)]