diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-12 16:03:47 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-12 16:03:47 +0000 |
commit | afdcfb79b9697cec4812d262ffb58bffd5555761 (patch) | |
tree | 6dd13ecadd963031f447663d005da18877b55722 /crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs | |
parent | abc5d377e2957af962c33d565fd550eb504dbbee (diff) | |
parent | 4e91c23c796988e3934afabf619185333f85c116 (diff) |
Merge #808
808: rename yellow -> syntax_node r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/fuzz-failures/0000.rs')
-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); |