diff options
Diffstat (limited to 'crates/libanalysis')
-rw-r--r-- | crates/libanalysis/src/lib.rs | 3 | ||||
-rw-r--r-- | crates/libanalysis/src/module_map.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/crates/libanalysis/src/lib.rs b/crates/libanalysis/src/lib.rs index fee0d10d6..a0f17a689 100644 --- a/crates/libanalysis/src/lib.rs +++ b/crates/libanalysis/src/lib.rs | |||
@@ -27,8 +27,9 @@ use std::{ | |||
27 | }; | 27 | }; |
28 | 28 | ||
29 | use libsyntax2::{ | 29 | use libsyntax2::{ |
30 | ParsedFile, | ||
30 | TextUnit, TextRange, SmolStr, | 31 | TextUnit, TextRange, SmolStr, |
31 | ast::{self, AstNode, NameOwner, ParsedFile}, | 32 | ast::{self, AstNode, NameOwner}, |
32 | SyntaxKind::*, | 33 | SyntaxKind::*, |
33 | }; | 34 | }; |
34 | use libeditor::{LineIndex, FileSymbol, find_node}; | 35 | use libeditor::{LineIndex, FileSymbol, find_node}; |
diff --git a/crates/libanalysis/src/module_map.rs b/crates/libanalysis/src/module_map.rs index 83e6e57f7..e8d32928a 100644 --- a/crates/libanalysis/src/module_map.rs +++ b/crates/libanalysis/src/module_map.rs | |||
@@ -4,7 +4,8 @@ use std::{ | |||
4 | 4 | ||
5 | use parking_lot::{RwLock, RwLockReadGuard, RwLockWriteGuard}; | 5 | use parking_lot::{RwLock, RwLockReadGuard, RwLockWriteGuard}; |
6 | use libsyntax2::{ | 6 | use libsyntax2::{ |
7 | ast::{self, AstNode, NameOwner, ParsedFile}, | 7 | ParsedFile, |
8 | ast::{self, AstNode, NameOwner}, | ||
8 | SyntaxNode, SmolStr, | 9 | SyntaxNode, SmolStr, |
9 | }; | 10 | }; |
10 | use {FileId, FileResolver}; | 11 | use {FileId, FileResolver}; |