diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-10 16:07:36 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-10 16:07:36 +0100 |
commit | fcd609862b8d5b0567bb74895ef75b02912a375d (patch) | |
tree | 4bc012bfc0c2428bc4dee692a1ea2388152a4269 /crates/ra_mbe/src/tests.rs | |
parent | 38e0d0f3348900bb4078deb09d48c5b6483d43d6 (diff) | |
parent | 5c5bde47fb759440d007c90fd83021de538120b8 (diff) |
Merge #3926
3926: Rename some tokens r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_mbe/src/tests.rs')
-rw-r--r-- | crates/ra_mbe/src/tests.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/crates/ra_mbe/src/tests.rs b/crates/ra_mbe/src/tests.rs index 1ef6f6eed..5d1274d21 100644 --- a/crates/ra_mbe/src/tests.rs +++ b/crates/ra_mbe/src/tests.rs | |||
@@ -252,7 +252,7 @@ fn test_expr_order() { | |||
252 | STAR@[11; 12) "*" | 252 | STAR@[11; 12) "*" |
253 | LITERAL@[12; 13) | 253 | LITERAL@[12; 13) |
254 | INT_NUMBER@[12; 13) "2" | 254 | INT_NUMBER@[12; 13) "2" |
255 | SEMI@[13; 14) ";" | 255 | SEMICOLON@[13; 14) ";" |
256 | R_CURLY@[14; 15) "}""#, | 256 | R_CURLY@[14; 15) "}""#, |
257 | ); | 257 | ); |
258 | } | 258 | } |
@@ -605,7 +605,7 @@ fn test_tt_to_stmts() { | |||
605 | EQ@[4; 5) "=" | 605 | EQ@[4; 5) "=" |
606 | LITERAL@[5; 6) | 606 | LITERAL@[5; 6) |
607 | INT_NUMBER@[5; 6) "0" | 607 | INT_NUMBER@[5; 6) "0" |
608 | SEMI@[6; 7) ";" | 608 | SEMICOLON@[6; 7) ";" |
609 | EXPR_STMT@[7; 14) | 609 | EXPR_STMT@[7; 14) |
610 | BIN_EXPR@[7; 13) | 610 | BIN_EXPR@[7; 13) |
611 | PATH_EXPR@[7; 8) | 611 | PATH_EXPR@[7; 8) |
@@ -620,7 +620,7 @@ fn test_tt_to_stmts() { | |||
620 | PLUS@[11; 12) "+" | 620 | PLUS@[11; 12) "+" |
621 | LITERAL@[12; 13) | 621 | LITERAL@[12; 13) |
622 | INT_NUMBER@[12; 13) "1" | 622 | INT_NUMBER@[12; 13) "1" |
623 | SEMI@[13; 14) ";" | 623 | SEMICOLON@[13; 14) ";" |
624 | EXPR_STMT@[14; 15) | 624 | EXPR_STMT@[14; 15) |
625 | PATH_EXPR@[14; 15) | 625 | PATH_EXPR@[14; 15) |
626 | PATH@[14; 15) | 626 | PATH@[14; 15) |
@@ -953,7 +953,7 @@ fn test_tt_composite2() { | |||
953 | PATH_SEGMENT@[0; 3) | 953 | PATH_SEGMENT@[0; 3) |
954 | NAME_REF@[0; 3) | 954 | NAME_REF@[0; 3) |
955 | IDENT@[0; 3) "abs" | 955 | IDENT@[0; 3) "abs" |
956 | EXCL@[3; 4) "!" | 956 | BANG@[3; 4) "!" |
957 | TOKEN_TREE@[4; 10) | 957 | TOKEN_TREE@[4; 10) |
958 | L_PAREN@[4; 5) "(" | 958 | L_PAREN@[4; 5) "(" |
959 | EQ@[5; 6) "=" | 959 | EQ@[5; 6) "=" |
@@ -1073,14 +1073,14 @@ fn test_vec() { | |||
1073 | PATH_SEGMENT@[9; 12) | 1073 | PATH_SEGMENT@[9; 12) |
1074 | NAME_REF@[9; 12) | 1074 | NAME_REF@[9; 12) |
1075 | IDENT@[9; 12) "Vec" | 1075 | IDENT@[9; 12) "Vec" |
1076 | COLONCOLON@[12; 14) "::" | 1076 | COLON2@[12; 14) "::" |
1077 | PATH_SEGMENT@[14; 17) | 1077 | PATH_SEGMENT@[14; 17) |
1078 | NAME_REF@[14; 17) | 1078 | NAME_REF@[14; 17) |
1079 | IDENT@[14; 17) "new" | 1079 | IDENT@[14; 17) "new" |
1080 | ARG_LIST@[17; 19) | 1080 | ARG_LIST@[17; 19) |
1081 | L_PAREN@[17; 18) "(" | 1081 | L_PAREN@[17; 18) "(" |
1082 | R_PAREN@[18; 19) ")" | 1082 | R_PAREN@[18; 19) ")" |
1083 | SEMI@[19; 20) ";" | 1083 | SEMICOLON@[19; 20) ";" |
1084 | EXPR_STMT@[20; 33) | 1084 | EXPR_STMT@[20; 33) |
1085 | METHOD_CALL_EXPR@[20; 32) | 1085 | METHOD_CALL_EXPR@[20; 32) |
1086 | PATH_EXPR@[20; 21) | 1086 | PATH_EXPR@[20; 21) |
@@ -1096,7 +1096,7 @@ fn test_vec() { | |||
1096 | LITERAL@[27; 31) | 1096 | LITERAL@[27; 31) |
1097 | INT_NUMBER@[27; 31) "1u32" | 1097 | INT_NUMBER@[27; 31) "1u32" |
1098 | R_PAREN@[31; 32) ")" | 1098 | R_PAREN@[31; 32) ")" |
1099 | SEMI@[32; 33) ";" | 1099 | SEMICOLON@[32; 33) ";" |
1100 | EXPR_STMT@[33; 43) | 1100 | EXPR_STMT@[33; 43) |
1101 | METHOD_CALL_EXPR@[33; 42) | 1101 | METHOD_CALL_EXPR@[33; 42) |
1102 | PATH_EXPR@[33; 34) | 1102 | PATH_EXPR@[33; 34) |
@@ -1112,7 +1112,7 @@ fn test_vec() { | |||
1112 | LITERAL@[40; 41) | 1112 | LITERAL@[40; 41) |
1113 | INT_NUMBER@[40; 41) "2" | 1113 | INT_NUMBER@[40; 41) "2" |
1114 | R_PAREN@[41; 42) ")" | 1114 | R_PAREN@[41; 42) ")" |
1115 | SEMI@[42; 43) ";" | 1115 | SEMICOLON@[42; 43) ";" |
1116 | PATH_EXPR@[43; 44) | 1116 | PATH_EXPR@[43; 44) |
1117 | PATH@[43; 44) | 1117 | PATH@[43; 44) |
1118 | PATH_SEGMENT@[43; 44) | 1118 | PATH_SEGMENT@[43; 44) |
@@ -1760,7 +1760,7 @@ fn test_no_space_after_semi_colon() { | |||
1760 | MOD_KW@[21; 24) "mod" | 1760 | MOD_KW@[21; 24) "mod" |
1761 | NAME@[24; 25) | 1761 | NAME@[24; 25) |
1762 | IDENT@[24; 25) "m" | 1762 | IDENT@[24; 25) "m" |
1763 | SEMI@[25; 26) ";" | 1763 | SEMICOLON@[25; 26) ";" |
1764 | MODULE@[26; 52) | 1764 | MODULE@[26; 52) |
1765 | ATTR@[26; 47) | 1765 | ATTR@[26; 47) |
1766 | POUND@[26; 27) "#" | 1766 | POUND@[26; 27) "#" |
@@ -1779,7 +1779,7 @@ fn test_no_space_after_semi_colon() { | |||
1779 | MOD_KW@[47; 50) "mod" | 1779 | MOD_KW@[47; 50) "mod" |
1780 | NAME@[50; 51) | 1780 | NAME@[50; 51) |
1781 | IDENT@[50; 51) "f" | 1781 | IDENT@[50; 51) "f" |
1782 | SEMI@[51; 52) ";""###, | 1782 | SEMICOLON@[51; 52) ";""###, |
1783 | ); | 1783 | ); |
1784 | } | 1784 | } |
1785 | 1785 | ||