aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/reparsing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/reparsing.rs')
-rw-r--r--crates/ra_syntax/src/reparsing.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/reparsing.rs b/crates/ra_syntax/src/reparsing.rs
index c5c609ad5..dd751465c 100644
--- a/crates/ra_syntax/src/reparsing.rs
+++ b/crates/ra_syntax/src/reparsing.rs
@@ -3,7 +3,7 @@ use crate::grammar;
3use crate::lexer::{tokenize, Token}; 3use crate::lexer::{tokenize, Token};
4use crate::parser_api::Parser; 4use crate::parser_api::Parser;
5use crate::parser_impl; 5use crate::parser_impl;
6use crate::yellow::{self, GreenNode, SyntaxError, SyntaxNode}; 6use crate::syntax_node::{self, GreenNode, SyntaxError, SyntaxNode};
7use crate::{SyntaxKind::*, TextRange, TextUnit}; 7use crate::{SyntaxKind::*, TextRange, TextUnit};
8use ra_text_edit::AtomTextEdit; 8use ra_text_edit::AtomTextEdit;
9 9
@@ -56,7 +56,7 @@ fn reparse_block<'node>(
56 return None; 56 return None;
57 } 57 }
58 let (green, new_errors) = 58 let (green, new_errors) =
59 parser_impl::parse_with(yellow::GreenBuilder::new(), &text, &tokens, reparser); 59 parser_impl::parse_with(syntax_node::GreenBuilder::new(), &text, &tokens, reparser);
60 Some((node, green, new_errors)) 60 Some((node, green, new_errors))
61} 61}
62 62