diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-24 10:51:25 +0100 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-07-24 10:51:25 +0100 |
commit | 0194adb651257b69fdf04423b22c69db09fc489c (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.txt | |
parent | bf3030404ef8a161334326bad706f60ee8838f63 (diff) | |
parent | 459241f272748ff2e57b2c7e84f5a04f78d67edb (diff) |
Merge #1585
1585: move syntax tests to unit tests r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.txt b/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.txt new file mode 100644 index 000000000..b1ef210d3 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.txt | |||
@@ -0,0 +1,39 @@ | |||
1 | SOURCE_FILE@[0; 50) | ||
2 | ERROR@[0; 5) | ||
3 | ASYNC_KW@[0; 5) "async" | ||
4 | WHITESPACE@[5; 6) " " | ||
5 | FN_DEF@[6; 24) | ||
6 | UNSAFE_KW@[6; 12) "unsafe" | ||
7 | WHITESPACE@[12; 13) " " | ||
8 | FN_KW@[13; 15) "fn" | ||
9 | WHITESPACE@[15; 16) " " | ||
10 | NAME@[16; 19) | ||
11 | IDENT@[16; 19) "foo" | ||
12 | PARAM_LIST@[19; 21) | ||
13 | L_PAREN@[19; 20) "(" | ||
14 | R_PAREN@[20; 21) ")" | ||
15 | WHITESPACE@[21; 22) " " | ||
16 | BLOCK@[22; 24) | ||
17 | L_CURLY@[22; 23) "{" | ||
18 | R_CURLY@[23; 24) "}" | ||
19 | WHITESPACE@[24; 25) "\n" | ||
20 | ERROR@[25; 31) | ||
21 | UNSAFE_KW@[25; 31) "unsafe" | ||
22 | WHITESPACE@[31; 32) " " | ||
23 | FN_DEF@[32; 49) | ||
24 | CONST_KW@[32; 37) "const" | ||
25 | WHITESPACE@[37; 38) " " | ||
26 | FN_KW@[38; 40) "fn" | ||
27 | WHITESPACE@[40; 41) " " | ||
28 | NAME@[41; 44) | ||
29 | IDENT@[41; 44) "bar" | ||
30 | PARAM_LIST@[44; 46) | ||
31 | L_PAREN@[44; 45) "(" | ||
32 | R_PAREN@[45; 46) ")" | ||
33 | WHITESPACE@[46; 47) " " | ||
34 | BLOCK@[47; 49) | ||
35 | L_CURLY@[47; 48) "{" | ||
36 | R_CURLY@[48; 49) "}" | ||
37 | WHITESPACE@[49; 50) "\n" | ||
38 | error 5: expected existential, fn, trait or impl | ||
39 | error 31: expected existential, fn, trait or impl | ||