aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/syntax_node.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-08-12 16:15:00 +0100
committerGitHub <[email protected]>2020-08-12 16:15:00 +0100
commit3d6889cba72a9d02199f7adaa2ecc69bc30af834 (patch)
treea17351b1e3addea0a719f38990fea9289b6ef65e /crates/ra_syntax/src/syntax_node.rs
parenta573e088ac64eeeb19e4fc74be2ff019be510477 (diff)
parent50a02eb3593591a02677e1b56f24d7ff0459b9d0 (diff)
Merge #5727
5727: Rename ra_parser -> parser r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/syntax_node.rs')
-rw-r--r--crates/ra_syntax/src/syntax_node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/syntax_node.rs b/crates/ra_syntax/src/syntax_node.rs
index a7dbdba7b..b2abcbfbb 100644
--- a/crates/ra_syntax/src/syntax_node.rs
+++ b/crates/ra_syntax/src/syntax_node.rs
@@ -71,7 +71,7 @@ impl SyntaxTreeBuilder {
71 self.inner.finish_node() 71 self.inner.finish_node()
72 } 72 }
73 73
74 pub fn error(&mut self, error: ra_parser::ParseError, text_pos: TextSize) { 74 pub fn error(&mut self, error: parser::ParseError, text_pos: TextSize) {
75 self.errors.push(SyntaxError::new_at_offset(*error.0, text_pos)) 75 self.errors.push(SyntaxError::new_at_offset(*error.0, text_pos))
76 } 76 }
77} 77}