From 9fae494a8da347a32cdcd3dcd714ba00aaff9664 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 25 Aug 2018 11:40:17 +0300 Subject: Move ParsedFile to top --- crates/libanalysis/src/lib.rs | 3 ++- crates/libanalysis/src/module_map.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'crates/libanalysis') 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::{ }; use libsyntax2::{ + ParsedFile, TextUnit, TextRange, SmolStr, - ast::{self, AstNode, NameOwner, ParsedFile}, + ast::{self, AstNode, NameOwner}, SyntaxKind::*, }; 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::{ use parking_lot::{RwLock, RwLockReadGuard, RwLockWriteGuard}; use libsyntax2::{ - ast::{self, AstNode, NameOwner, ParsedFile}, + ParsedFile, + ast::{self, AstNode, NameOwner}, SyntaxNode, SmolStr, }; use {FileId, FileResolver}; -- cgit v1.2.3