diff options
Diffstat (limited to 'crates/ra_syntax/src/syntax_node.rs')
-rw-r--r-- | crates/ra_syntax/src/syntax_node.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/crates/ra_syntax/src/syntax_node.rs b/crates/ra_syntax/src/syntax_node.rs index a0d7c32ec..aa627398d 100644 --- a/crates/ra_syntax/src/syntax_node.rs +++ b/crates/ra_syntax/src/syntax_node.rs | |||
@@ -1,13 +1,12 @@ | |||
1 | pub mod syntax_error; | ||
2 | mod syntax_text; | ||
3 | |||
4 | use std::{fmt, borrow::Borrow}; | 1 | use std::{fmt, borrow::Borrow}; |
5 | 2 | ||
6 | use self::syntax_text::SyntaxText; | ||
7 | use crate::{SmolStr, SyntaxKind, TextRange}; | ||
8 | use rowan::{Types, TransparentNewType}; | 3 | use rowan::{Types, TransparentNewType}; |
9 | 4 | ||
10 | pub use self::syntax_error::{SyntaxError, SyntaxErrorKind, Location}; | 5 | use crate::{ |
6 | SmolStr, SyntaxKind, TextRange, SyntaxText, | ||
7 | syntax_error::SyntaxError, | ||
8 | }; | ||
9 | |||
11 | pub use rowan::WalkEvent; | 10 | pub use rowan::WalkEvent; |
12 | 11 | ||
13 | #[derive(Debug, Clone, Copy)] | 12 | #[derive(Debug, Clone, Copy)] |