aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/lib.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-12-06 18:17:09 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-12-06 18:17:09 +0000
commit8e60e751cbcfa47c7bed788dfe2ab5cebfcb78b3 (patch)
tree58f01a945f7c27d6baaecf38e84617ca46782073 /crates/ra_syntax/src/lib.rs
parent5ad84f0ca5fe9bb250cd4026e5dcb5478d932666 (diff)
parent28ddecf6c99ef23bc96b9eb7bc8ee049f1732e76 (diff)
Merge #260
260: Modernize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/lib.rs')
-rw-r--r--crates/ra_syntax/src/lib.rs13
1 files changed, 1 insertions, 12 deletions
diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs
index 330f68053..0e5c9baad 100644
--- a/crates/ra_syntax/src/lib.rs
+++ b/crates/ra_syntax/src/lib.rs
@@ -20,17 +20,6 @@
20#![allow(missing_docs)] 20#![allow(missing_docs)]
21//#![warn(unreachable_pub)] // rust-lang/rust#47816 21//#![warn(unreachable_pub)] // rust-lang/rust#47816
22 22
23extern crate arrayvec;
24extern crate drop_bomb;
25extern crate itertools;
26extern crate parking_lot;
27extern crate rowan;
28extern crate unicode_xid;
29
30#[cfg(test)]
31#[macro_use]
32extern crate test_utils;
33
34pub mod algo; 23pub mod algo;
35pub mod ast; 24pub mod ast;
36mod lexer; 25mod lexer;
@@ -48,11 +37,11 @@ pub mod utils;
48mod validation; 37mod validation;
49mod yellow; 38mod yellow;
50 39
40pub use rowan::{SmolStr, TextRange, TextUnit};
51pub use crate::{ 41pub use crate::{
52 ast::AstNode, 42 ast::AstNode,
53 lexer::{tokenize, Token}, 43 lexer::{tokenize, Token},
54 reparsing::AtomEdit, 44 reparsing::AtomEdit,
55 rowan::{SmolStr, TextRange, TextUnit},
56 syntax_kinds::SyntaxKind, 45 syntax_kinds::SyntaxKind,
57 yellow::{ 46 yellow::{
58 Direction, OwnedRoot, RefRoot, SyntaxError, SyntaxNode, SyntaxNodeRef, TreeRoot, WalkEvent, Location, 47 Direction, OwnedRoot, RefRoot, SyntaxError, SyntaxNode, SyntaxNodeRef, TreeRoot, WalkEvent, Location,