diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs index edd5b4a28a3..b12282b3949 100644 --- a/crates/ra_syntax/src/lib.rs +++ b/crates/ra_syntax/src/lib.rs @@ -16,18 +16,19 @@ #![allow(missing_docs)] //#![warn(unreachable_pub)] // rust-lang/rust#47816 -pub mod algo; -pub mod ast; +mod syntax_kinds; +mod syntax_node; +mod syntax_text; +mod syntax_error; mod parsing; mod string_lexing; -mod syntax_kinds; +mod validation; +mod ptr; + +pub mod algo; +pub mod ast; /// Utilities for simple uses of the parser. pub mod utils; -mod validation; -mod syntax_node; -mod ptr; -mod syntax_error; -mod syntax_text; pub use rowan::{SmolStr, TextRange, TextUnit}; pub use crate::{ diff --git a/crates/ra_syntax/src/parsing.rs b/crates/ra_syntax/src/parsing.rs index 023e1031cd9..761accd7be4 100644 --- a/crates/ra_syntax/src/parsing.rs +++ b/crates/ra_syntax/src/parsing.rs @@ -4,8 +4,8 @@ mod lexer; mod parser_impl; mod parser_api; -mod reparsing; mod grammar; +mod reparsing; use crate::{ SyntaxError,