diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-02 14:36:52 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-02 14:36:52 +0100 |
commit | 0a758a2c4803c7ecc956d2aa6ed2ce48c4e4edd9 (patch) | |
tree | 97952861d81d1d5d4de49899c0d4e8da96796dc2 /crates/ra_syntax/tests/data/parser/inline/err/0009_attr_on_expr_not_allowed.txt | |
parent | 78f38a20fd53ccab18b1c4b7dda217b5bfb61c8f (diff) | |
parent | 7d6bd5d1379061180e771f7b833a9fecdc85a0b8 (diff) |
Merge #1090
1090: always show token text r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/err/0009_attr_on_expr_not_allowed.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/err/0009_attr_on_expr_not_allowed.txt | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/err/0009_attr_on_expr_not_allowed.txt b/crates/ra_syntax/tests/data/parser/inline/err/0009_attr_on_expr_not_allowed.txt index fdea1ec1e..9d50a520f 100644 --- a/crates/ra_syntax/tests/data/parser/inline/err/0009_attr_on_expr_not_allowed.txt +++ b/crates/ra_syntax/tests/data/parser/inline/err/0009_attr_on_expr_not_allowed.txt | |||
@@ -1,55 +1,55 @@ | |||
1 | SOURCE_FILE@[0; 48) | 1 | SOURCE_FILE@[0; 48) |
2 | FN_DEF@[0; 47) | 2 | FN_DEF@[0; 47) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) "fn" |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) " " |
5 | NAME@[3; 6) | 5 | NAME@[3; 6) |
6 | IDENT@[3; 6) "foo" | 6 | IDENT@[3; 6) "foo" |
7 | PARAM_LIST@[6; 8) | 7 | PARAM_LIST@[6; 8) |
8 | L_PAREN@[6; 7) | 8 | L_PAREN@[6; 7) "(" |
9 | R_PAREN@[7; 8) | 9 | R_PAREN@[7; 8) ")" |
10 | WHITESPACE@[8; 9) | 10 | WHITESPACE@[8; 9) " " |
11 | BLOCK@[9; 47) | 11 | BLOCK@[9; 47) |
12 | L_CURLY@[9; 10) | 12 | L_CURLY@[9; 10) "{" |
13 | WHITESPACE@[10; 14) | 13 | WHITESPACE@[10; 14) "\n " |
14 | EXPR_STMT@[14; 25) | 14 | EXPR_STMT@[14; 25) |
15 | ATTR@[14; 18) | 15 | ATTR@[14; 18) |
16 | POUND@[14; 15) | 16 | POUND@[14; 15) "#" |
17 | TOKEN_TREE@[15; 18) | 17 | TOKEN_TREE@[15; 18) |
18 | L_BRACK@[15; 16) | 18 | L_BRACK@[15; 16) "[" |
19 | IDENT@[16; 17) "A" | 19 | IDENT@[16; 17) "A" |
20 | R_BRACK@[17; 18) | 20 | R_BRACK@[17; 18) "]" |
21 | WHITESPACE@[18; 19) | 21 | WHITESPACE@[18; 19) " " |
22 | BIN_EXPR@[19; 24) | 22 | BIN_EXPR@[19; 24) |
23 | LITERAL@[19; 20) | 23 | LITERAL@[19; 20) |
24 | INT_NUMBER@[19; 20) "1" | 24 | INT_NUMBER@[19; 20) "1" |
25 | WHITESPACE@[20; 21) | 25 | WHITESPACE@[20; 21) " " |
26 | PLUS@[21; 22) | 26 | PLUS@[21; 22) "+" |
27 | WHITESPACE@[22; 23) | 27 | WHITESPACE@[22; 23) " " |
28 | LITERAL@[23; 24) | 28 | LITERAL@[23; 24) |
29 | INT_NUMBER@[23; 24) "2" | 29 | INT_NUMBER@[23; 24) "2" |
30 | err: `attributes are not allowed on BIN_EXPR` | 30 | err: `attributes are not allowed on BIN_EXPR` |
31 | SEMI@[24; 25) | 31 | SEMI@[24; 25) ";" |
32 | WHITESPACE@[25; 29) | 32 | WHITESPACE@[25; 29) "\n " |
33 | EXPR_STMT@[29; 45) | 33 | EXPR_STMT@[29; 45) |
34 | ATTR@[29; 33) | 34 | ATTR@[29; 33) |
35 | POUND@[29; 30) | 35 | POUND@[29; 30) "#" |
36 | TOKEN_TREE@[30; 33) | 36 | TOKEN_TREE@[30; 33) |
37 | L_BRACK@[30; 31) | 37 | L_BRACK@[30; 31) "[" |
38 | IDENT@[31; 32) "B" | 38 | IDENT@[31; 32) "B" |
39 | R_BRACK@[32; 33) | 39 | R_BRACK@[32; 33) "]" |
40 | WHITESPACE@[33; 34) | 40 | WHITESPACE@[33; 34) " " |
41 | IF_EXPR@[34; 44) | 41 | IF_EXPR@[34; 44) |
42 | IF_KW@[34; 36) | 42 | IF_KW@[34; 36) "if" |
43 | WHITESPACE@[36; 37) | 43 | WHITESPACE@[36; 37) " " |
44 | CONDITION@[37; 41) | 44 | CONDITION@[37; 41) |
45 | LITERAL@[37; 41) | 45 | LITERAL@[37; 41) |
46 | TRUE_KW@[37; 41) | 46 | TRUE_KW@[37; 41) "true" |
47 | WHITESPACE@[41; 42) | 47 | WHITESPACE@[41; 42) " " |
48 | BLOCK@[42; 44) | 48 | BLOCK@[42; 44) |
49 | L_CURLY@[42; 43) | 49 | L_CURLY@[42; 43) "{" |
50 | R_CURLY@[43; 44) | 50 | R_CURLY@[43; 44) "}" |
51 | err: `attributes are not allowed on IF_EXPR` | 51 | err: `attributes are not allowed on IF_EXPR` |
52 | SEMI@[44; 45) | 52 | SEMI@[44; 45) ";" |
53 | WHITESPACE@[45; 46) | 53 | WHITESPACE@[45; 46) "\n" |
54 | R_CURLY@[46; 47) | 54 | R_CURLY@[46; 47) "}" |
55 | WHITESPACE@[47; 48) | 55 | WHITESPACE@[47; 48) "\n" |