mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
modernize some files
This commit is contained in:
parent
49324ee566
commit
1761a7d213
3 changed files with 4 additions and 10 deletions
|
@ -20,13 +20,6 @@
|
|||
#![allow(missing_docs)]
|
||||
//#![warn(unreachable_pub)] // rust-lang/rust#47816
|
||||
|
||||
extern crate arrayvec;
|
||||
extern crate drop_bomb;
|
||||
extern crate itertools;
|
||||
extern crate parking_lot;
|
||||
extern crate rowan;
|
||||
extern crate unicode_xid;
|
||||
|
||||
#[cfg(test)]
|
||||
#[macro_use]
|
||||
extern crate test_utils;
|
||||
|
@ -48,11 +41,11 @@ pub mod utils;
|
|||
mod validation;
|
||||
mod yellow;
|
||||
|
||||
pub use rowan::{SmolStr, TextRange, TextUnit};
|
||||
pub use crate::{
|
||||
ast::AstNode,
|
||||
lexer::{tokenize, Token},
|
||||
reparsing::AtomEdit,
|
||||
rowan::{SmolStr, TextRange, TextUnit},
|
||||
syntax_kinds::SyntaxKind,
|
||||
yellow::{
|
||||
Direction, OwnedRoot, RefRoot, SyntaxError, SyntaxNode, SyntaxNodeRef, TreeRoot, WalkEvent, Location,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue