diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/tests/data/parser/inline/err/0009_attr_on_expr_not_allowed.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
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 | 55 |
1 files changed, 0 insertions, 55 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 deleted file mode 100644 index 338776a72..000000000 --- a/crates/ra_syntax/tests/data/parser/inline/err/0009_attr_on_expr_not_allowed.txt +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 48) | ||
2 | FN_DEF@[0; 47) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | R_PAREN@[7; 8) ")" | ||
10 | WHITESPACE@[8; 9) " " | ||
11 | BLOCK@[9; 47) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 14) "\n " | ||
14 | EXPR_STMT@[14; 25) | ||
15 | ATTR@[14; 18) | ||
16 | POUND@[14; 15) "#" | ||
17 | TOKEN_TREE@[15; 18) | ||
18 | L_BRACK@[15; 16) "[" | ||
19 | IDENT@[16; 17) "A" | ||
20 | R_BRACK@[17; 18) "]" | ||
21 | WHITESPACE@[18; 19) " " | ||
22 | BIN_EXPR@[19; 24) | ||
23 | LITERAL@[19; 20) | ||
24 | INT_NUMBER@[19; 20) "1" | ||
25 | WHITESPACE@[20; 21) " " | ||
26 | PLUS@[21; 22) "+" | ||
27 | WHITESPACE@[22; 23) " " | ||
28 | LITERAL@[23; 24) | ||
29 | INT_NUMBER@[23; 24) "2" | ||
30 | SEMI@[24; 25) ";" | ||
31 | WHITESPACE@[25; 29) "\n " | ||
32 | EXPR_STMT@[29; 45) | ||
33 | ATTR@[29; 33) | ||
34 | POUND@[29; 30) "#" | ||
35 | TOKEN_TREE@[30; 33) | ||
36 | L_BRACK@[30; 31) "[" | ||
37 | IDENT@[31; 32) "B" | ||
38 | R_BRACK@[32; 33) "]" | ||
39 | WHITESPACE@[33; 34) " " | ||
40 | IF_EXPR@[34; 44) | ||
41 | IF_KW@[34; 36) "if" | ||
42 | WHITESPACE@[36; 37) " " | ||
43 | CONDITION@[37; 41) | ||
44 | LITERAL@[37; 41) | ||
45 | TRUE_KW@[37; 41) "true" | ||
46 | WHITESPACE@[41; 42) " " | ||
47 | BLOCK@[42; 44) | ||
48 | L_CURLY@[42; 43) "{" | ||
49 | R_CURLY@[43; 44) "}" | ||
50 | SEMI@[44; 45) ";" | ||
51 | WHITESPACE@[45; 46) "\n" | ||
52 | R_CURLY@[46; 47) "}" | ||
53 | WHITESPACE@[47; 48) "\n" | ||
54 | error 24: attributes are not allowed on BIN_EXPR | ||
55 | error 44: attributes are not allowed on IF_EXPR | ||