diff options
Diffstat (limited to 'crates/ra_syntax/tests')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs b/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs index 59cd11495..e0437d163 100644 --- a/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs +++ b/crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs | |||
@@ -5,7 +5,7 @@ | |||
5 | } | 5 | } |
6 | pub fn parse(text: &str) -> File { | 6 | pub fn parse(text: &str) -> File { |
7 | let tokens = tokenize(&text); | 7 | let tokens = tokenize(&text); |
8 | let (green, errors) = parser_impl::parse_with::<yellow::GreenBuilder>( | 8 | let (green, errors) = parser_impl::parse_with::<syntax_node::GreenBuilder>( |
9 | text, &tokens, grammar::root, | 9 | text, &tokens, grammar::root, |
10 | ); | 10 | ); |
11 | File::new(green, errors) | 11 | File::new(green, errors) |
@@ -24,7 +24,7 @@ | |||
24 | if !is_balanced(&tokens) { | 24 | if !is_balanced(&tokens) { |
25 | return None; | 25 | return None; |
26 | } | 26 | } |
27 | let (green, new_errors) = parser_impl::parse_with::<yellow::GreenBuilder>( | 27 | let (green, new_errors) = parser_impl::parse_with::<syntax_node::GreenBuilder>( |
28 | &te2t, &tokens, reparser, | 28 | &te2t, &tokens, reparser, |
29 | ); | 29 | ); |
30 | let green_root = node.replace_with(green); | 30 | let green_root = node.replace_with(green); |