diff options
author | Aleksey Kladov <[email protected]> | 2019-08-23 13:55:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-08-23 14:59:50 +0100 |
commit | 5b18a4eef9e69260ce2f105b33553c929cb7d827 (patch) | |
tree | 15f55b3eab48c3d0bbb1975fbd4db7cbb56d3e3e /crates/ra_syntax/test_data/parser/fuzz-failures | |
parent | c12dce0073c1766f7d2b10a69f8526a8093e70dc (diff) |
rename struct -> record, pos -> tuple
Diffstat (limited to 'crates/ra_syntax/test_data/parser/fuzz-failures')
-rw-r--r-- | crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs b/crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs index e0437d163..0e6e0ccc3 100644 --- a/crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs +++ b/crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs | |||
@@ -86,7 +86,7 @@ fn find_reparsable_node(node: SyntaxNodeRef, range: TextRange) -> Option<(Syntax | |||
86 | fn reparser(node: SyntaxNodeRef) -> Option<fn(&mut Parser)> { | 86 | fn reparser(node: SyntaxNodeRef) -> Option<fn(&mut Parser)> { |
87 | let res = match node.kind() { | 87 | let res = match node.kind() { |
88 | BLOCK => grammar::block, | 88 | BLOCK => grammar::block, |
89 | NAMED_FIELD_DEF_LIST => grammar::named_field_def_list, | 89 | RECORD_FIELD_DEF_LIST => grammar::record_field_def_list, |
90 | _ => return None, | 90 | _ => return None, |
91 | }; | 91 | }; |
92 | Some(res) | 92 | Some(res) |
@@ -138,7 +138,7 @@ fn find_reparsable_node(node: SyntaxNodeRef, range: TextRange) -> Option<(Syntax | |||
138 | let res = match node.kind() { | 138 | let res = match node.kind() { |
139 | ; | 139 | ; |
140 | let end = u32::from(range.end()) as usize; | 140 | let end = u32::from(range.end()) as usize; |
141 | text.replaT => grammar::named_field_def_list, | 141 | text.replaT => grammar::record_field_def_list, |
142 | _ => return None, | 142 | _ => return None, |
143 | }; | 143 | }; |
144 | Some(res) | 144 | Some(res) |