diff options
Diffstat (limited to 'crates/ra_syntax/src/reparsing.rs')
-rw-r--r-- | crates/ra_syntax/src/reparsing.rs | 4 |
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; | |||
3 | use crate::lexer::{tokenize, Token}; | 3 | use crate::lexer::{tokenize, Token}; |
4 | use crate::parser_api::Parser; | 4 | use crate::parser_api::Parser; |
5 | use crate::parser_impl; | 5 | use crate::parser_impl; |
6 | use crate::yellow::{self, GreenNode, SyntaxError, SyntaxNode}; | 6 | use crate::syntax_node::{self, GreenNode, SyntaxError, SyntaxNode}; |
7 | use crate::{SyntaxKind::*, TextRange, TextUnit}; | 7 | use crate::{SyntaxKind::*, TextRange, TextUnit}; |
8 | use ra_text_edit::AtomTextEdit; | 8 | use 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 | ||