mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Move ParsedFile to top
This commit is contained in:
parent
f104458d45
commit
9fae494a8d
7 changed files with 39 additions and 39 deletions
|
@ -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};
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue