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