diff options
author | Aleksey Kladov <[email protected]> | 2019-01-25 21:24:12 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-25 21:24:12 +0000 |
commit | 23172a116c3cc4ca9a692dfdd05051d1a4aee2b2 (patch) | |
tree | b6d0912779ecb18ec278339d8a40303e172647be /crates/ra_syntax/tests/data/parser/inline/ok | |
parent | 3c7acecade09e1234ac7b1d1ed2f22edbc543f64 (diff) |
rename POS_FIELD -> POS_FIELD_DEF
to match NAMED_FIELD_DEF
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok')
3 files changed, 10 insertions, 10 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0083_struct_items.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0083_struct_items.txt index 058639375..6247729f6 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0083_struct_items.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0083_struct_items.txt | |||
@@ -21,7 +21,7 @@ SOURCE_FILE@[0; 106) | |||
21 | WHITESPACE@[32; 33) | 21 | WHITESPACE@[32; 33) |
22 | NAME@[33; 36) | 22 | NAME@[33; 36) |
23 | IDENT@[33; 36) "Foo" | 23 | IDENT@[33; 36) "Foo" |
24 | POS_FIELD_LIST@[36; 38) | 24 | POS_FIELD_DEF_LIST@[36; 38) |
25 | L_PAREN@[36; 37) | 25 | L_PAREN@[36; 37) |
26 | R_PAREN@[37; 38) | 26 | R_PAREN@[37; 38) |
27 | SEMI@[38; 39) | 27 | SEMI@[38; 39) |
@@ -31,9 +31,9 @@ SOURCE_FILE@[0; 106) | |||
31 | WHITESPACE@[46; 47) | 31 | WHITESPACE@[46; 47) |
32 | NAME@[47; 50) | 32 | NAME@[47; 50) |
33 | IDENT@[47; 50) "Foo" | 33 | IDENT@[47; 50) "Foo" |
34 | POS_FIELD_LIST@[50; 65) | 34 | POS_FIELD_DEF_LIST@[50; 65) |
35 | L_PAREN@[50; 51) | 35 | L_PAREN@[50; 51) |
36 | POS_FIELD@[51; 57) | 36 | POS_FIELD_DEF@[51; 57) |
37 | PATH_TYPE@[51; 57) | 37 | PATH_TYPE@[51; 57) |
38 | PATH@[51; 57) | 38 | PATH@[51; 57) |
39 | PATH_SEGMENT@[51; 57) | 39 | PATH_SEGMENT@[51; 57) |
@@ -41,7 +41,7 @@ SOURCE_FILE@[0; 106) | |||
41 | IDENT@[51; 57) "String" | 41 | IDENT@[51; 57) "String" |
42 | COMMA@[57; 58) | 42 | COMMA@[57; 58) |
43 | WHITESPACE@[58; 59) | 43 | WHITESPACE@[58; 59) |
44 | POS_FIELD@[59; 64) | 44 | POS_FIELD_DEF@[59; 64) |
45 | PATH_TYPE@[59; 64) | 45 | PATH_TYPE@[59; 64) |
46 | PATH@[59; 64) | 46 | PATH@[59; 64) |
47 | PATH_SEGMENT@[59; 64) | 47 | PATH_SEGMENT@[59; 64) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0114_tuple_struct_where.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0114_tuple_struct_where.txt index b7de83072..4f439f21c 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0114_tuple_struct_where.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0114_tuple_struct_where.txt | |||
@@ -10,9 +10,9 @@ SOURCE_FILE@[0; 53) | |||
10 | NAME@[12; 13) | 10 | NAME@[12; 13) |
11 | IDENT@[12; 13) "T" | 11 | IDENT@[12; 13) "T" |
12 | R_ANGLE@[13; 14) | 12 | R_ANGLE@[13; 14) |
13 | POS_FIELD_LIST@[14; 17) | 13 | POS_FIELD_DEF_LIST@[14; 17) |
14 | L_PAREN@[14; 15) | 14 | L_PAREN@[14; 15) |
15 | POS_FIELD@[15; 16) | 15 | POS_FIELD_DEF@[15; 16) |
16 | PATH_TYPE@[15; 16) | 16 | PATH_TYPE@[15; 16) |
17 | PATH@[15; 16) | 17 | PATH@[15; 16) |
18 | PATH_SEGMENT@[15; 16) | 18 | PATH_SEGMENT@[15; 16) |
@@ -49,9 +49,9 @@ SOURCE_FILE@[0; 53) | |||
49 | NAME@[46; 47) | 49 | NAME@[46; 47) |
50 | IDENT@[46; 47) "T" | 50 | IDENT@[46; 47) "T" |
51 | R_ANGLE@[47; 48) | 51 | R_ANGLE@[47; 48) |
52 | POS_FIELD_LIST@[48; 51) | 52 | POS_FIELD_DEF_LIST@[48; 51) |
53 | L_PAREN@[48; 49) | 53 | L_PAREN@[48; 49) |
54 | POS_FIELD@[49; 50) | 54 | POS_FIELD_DEF@[49; 50) |
55 | PATH_TYPE@[49; 50) | 55 | PATH_TYPE@[49; 50) |
56 | PATH@[49; 50) | 56 | PATH@[49; 50) |
57 | PATH_SEGMENT@[49; 50) | 57 | PATH_SEGMENT@[49; 50) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.txt index 99ec0755b..4da84ba48 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0115_pos_field_attrs.txt | |||
@@ -5,10 +5,10 @@ SOURCE_FILE@[0; 60) | |||
5 | NAME@[7; 8) | 5 | NAME@[7; 8) |
6 | IDENT@[7; 8) "S" | 6 | IDENT@[7; 8) "S" |
7 | WHITESPACE@[8; 9) | 7 | WHITESPACE@[8; 9) |
8 | POS_FIELD_LIST@[9; 58) | 8 | POS_FIELD_DEF_LIST@[9; 58) |
9 | L_PAREN@[9; 10) | 9 | L_PAREN@[9; 10) |
10 | WHITESPACE@[10; 15) | 10 | WHITESPACE@[10; 15) |
11 | POS_FIELD@[15; 55) | 11 | POS_FIELD_DEF@[15; 55) |
12 | ATTR@[15; 43) | 12 | ATTR@[15; 43) |
13 | POUND@[15; 16) | 13 | POUND@[15; 16) |
14 | TOKEN_TREE@[16; 43) | 14 | TOKEN_TREE@[16; 43) |