aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parser_impl/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/parser_impl/mod.rs')
-rw-r--r--crates/ra_syntax/src/parser_impl/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_syntax/src/parser_impl/mod.rs b/crates/ra_syntax/src/parser_impl/mod.rs
index ade25770b..cb6e370ac 100644
--- a/crates/ra_syntax/src/parser_impl/mod.rs
+++ b/crates/ra_syntax/src/parser_impl/mod.rs
@@ -10,10 +10,10 @@ use crate::{
10 event::{Event, EventProcessor}, 10 event::{Event, EventProcessor},
11 input::{InputPosition, ParserInput}, 11 input::{InputPosition, ParserInput},
12 }, 12 },
13 SmolStr, TextRange, 13 SmolStr,
14 yellow::syntax_error::{ 14 yellow::syntax_error::{
15 ParseError, 15 ParseError,
16 SyntaxErrorKind, 16 SyntaxError,
17 }, 17 },
18}; 18};
19 19
@@ -25,7 +25,7 @@ pub(crate) trait Sink {
25 fn leaf(&mut self, kind: SyntaxKind, text: SmolStr); 25 fn leaf(&mut self, kind: SyntaxKind, text: SmolStr);
26 fn start_internal(&mut self, kind: SyntaxKind); 26 fn start_internal(&mut self, kind: SyntaxKind);
27 fn finish_internal(&mut self); 27 fn finish_internal(&mut self);
28 fn error(&mut self, kind: SyntaxErrorKind, offset: TextRange); 28 fn error(&mut self, error: SyntaxError);
29 fn finish(self) -> Self::Tree; 29 fn finish(self) -> Self::Tree;
30} 30}
31 31