diff options
author | Aleksey Kladov <[email protected]> | 2019-02-20 20:17:07 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-20 20:17:07 +0000 |
commit | 882c47f1870f15cb2aaad8871ccbad1c51520f49 (patch) | |
tree | e47aa900bcffffded370b68b2e50604199b491e3 /crates/ra_syntax/src/parsing/parser.rs | |
parent | 61992dc1cd4956038e3c15439c1203f21e05af06 (diff) |
move syntax error to parser
Diffstat (limited to 'crates/ra_syntax/src/parsing/parser.rs')
-rw-r--r-- | crates/ra_syntax/src/parsing/parser.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/parsing/parser.rs b/crates/ra_syntax/src/parsing/parser.rs index 988fcb518..923b0f2b2 100644 --- a/crates/ra_syntax/src/parsing/parser.rs +++ b/crates/ra_syntax/src/parsing/parser.rs | |||
@@ -3,10 +3,9 @@ use std::cell::Cell; | |||
3 | use drop_bomb::DropBomb; | 3 | use drop_bomb::DropBomb; |
4 | 4 | ||
5 | use crate::{ | 5 | use crate::{ |
6 | syntax_error::ParseError, | ||
7 | SyntaxKind::{self, ERROR, EOF, TOMBSTONE}, | 6 | SyntaxKind::{self, ERROR, EOF, TOMBSTONE}, |
8 | parsing::{ | 7 | parsing::{ |
9 | TokenSource, | 8 | TokenSource, ParseError, |
10 | token_set::TokenSet, | 9 | token_set::TokenSet, |
11 | event::Event, | 10 | event::Event, |
12 | }, | 11 | }, |