aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r--crates/ra_syntax/src/lib.rs17
-rw-r--r--crates/ra_syntax/src/parsing.rs2
2 files changed, 10 insertions, 9 deletions
diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs
index edd5b4a28..b12282b39 100644
--- a/crates/ra_syntax/src/lib.rs
+++ b/crates/ra_syntax/src/lib.rs
@@ -16,18 +16,19 @@
16#![allow(missing_docs)] 16#![allow(missing_docs)]
17//#![warn(unreachable_pub)] // rust-lang/rust#47816 17//#![warn(unreachable_pub)] // rust-lang/rust#47816
18 18
19pub mod algo; 19mod syntax_kinds;
20pub mod ast; 20mod syntax_node;
21mod syntax_text;
22mod syntax_error;
21mod parsing; 23mod parsing;
22mod string_lexing; 24mod string_lexing;
23mod syntax_kinds;
24/// Utilities for simple uses of the parser.
25pub mod utils;
26mod validation; 25mod validation;
27mod syntax_node;
28mod ptr; 26mod ptr;
29mod syntax_error; 27
30mod syntax_text; 28pub mod algo;
29pub mod ast;
30/// Utilities for simple uses of the parser.
31pub mod utils;
31 32
32pub use rowan::{SmolStr, TextRange, TextUnit}; 33pub use rowan::{SmolStr, TextRange, TextUnit};
33pub use crate::{ 34pub use crate::{
diff --git a/crates/ra_syntax/src/parsing.rs b/crates/ra_syntax/src/parsing.rs
index 023e1031c..761accd7b 100644
--- a/crates/ra_syntax/src/parsing.rs
+++ b/crates/ra_syntax/src/parsing.rs
@@ -4,8 +4,8 @@ mod builder;
4mod lexer; 4mod lexer;
5mod parser_impl; 5mod parser_impl;
6mod parser_api; 6mod parser_api;
7mod reparsing;
8mod grammar; 7mod grammar;
8mod reparsing;
9 9
10use crate::{ 10use crate::{
11 SyntaxError, 11 SyntaxError,