diff options
author | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
commit | 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f (patch) | |
tree | 54d5d31d8df65982163e1ff735e1461d672d8376 /crates/ra_syntax/tests/data/parser/inline/ok/0018_arb_self_types.txt | |
parent | 466885aa5bad53732786380f7579880fe2fd5645 (diff) |
Fix the tests and fix the precommit hook
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0018_arb_self_types.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0018_arb_self_types.txt | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0018_arb_self_types.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0018_arb_self_types.txt new file mode 100644 index 000000000..b2f04ea7b --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0018_arb_self_types.txt | |||
@@ -0,0 +1,72 @@ | |||
1 | SOURCE_FILE@[0; 69) | ||
2 | IMPL_ITEM@[0; 68) | ||
3 | IMPL_KW@[0; 4) | ||
4 | WHITESPACE@[4; 5) | ||
5 | PATH_TYPE@[5; 6) | ||
6 | PATH@[5; 6) | ||
7 | PATH_SEGMENT@[5; 6) | ||
8 | NAME_REF@[5; 6) | ||
9 | IDENT@[5; 6) "S" | ||
10 | WHITESPACE@[6; 7) | ||
11 | ITEM_LIST@[7; 68) | ||
12 | L_CURLY@[7; 8) | ||
13 | WHITESPACE@[8; 13) | ||
14 | FN_DEF@[13; 33) | ||
15 | FN_KW@[13; 15) | ||
16 | WHITESPACE@[15; 16) | ||
17 | NAME@[16; 17) | ||
18 | IDENT@[16; 17) "a" | ||
19 | PARAM_LIST@[17; 30) | ||
20 | L_PAREN@[17; 18) | ||
21 | SELF_PARAM@[18; 29) | ||
22 | SELF_KW@[18; 22) | ||
23 | COLON@[22; 23) | ||
24 | WHITESPACE@[23; 24) | ||
25 | REFERENCE_TYPE@[24; 29) | ||
26 | AMP@[24; 25) | ||
27 | PATH_TYPE@[25; 29) | ||
28 | PATH@[25; 29) | ||
29 | PATH_SEGMENT@[25; 29) | ||
30 | NAME_REF@[25; 29) | ||
31 | IDENT@[25; 29) "Self" | ||
32 | R_PAREN@[29; 30) | ||
33 | WHITESPACE@[30; 31) | ||
34 | BLOCK@[31; 33) | ||
35 | L_CURLY@[31; 32) | ||
36 | R_CURLY@[32; 33) | ||
37 | WHITESPACE@[33; 38) | ||
38 | FN_DEF@[38; 66) | ||
39 | FN_KW@[38; 40) | ||
40 | WHITESPACE@[40; 41) | ||
41 | NAME@[41; 42) | ||
42 | IDENT@[41; 42) "b" | ||
43 | PARAM_LIST@[42; 63) | ||
44 | L_PAREN@[42; 43) | ||
45 | SELF_PARAM@[43; 62) | ||
46 | MUT_KW@[43; 46) | ||
47 | WHITESPACE@[46; 47) | ||
48 | SELF_KW@[47; 51) | ||
49 | COLON@[51; 52) | ||
50 | WHITESPACE@[52; 53) | ||
51 | PATH_TYPE@[53; 62) | ||
52 | PATH@[53; 62) | ||
53 | PATH_SEGMENT@[53; 62) | ||
54 | NAME_REF@[53; 56) | ||
55 | IDENT@[53; 56) "Box" | ||
56 | TYPE_ARG_LIST@[56; 62) | ||
57 | L_ANGLE@[56; 57) | ||
58 | TYPE_ARG@[57; 61) | ||
59 | PATH_TYPE@[57; 61) | ||
60 | PATH@[57; 61) | ||
61 | PATH_SEGMENT@[57; 61) | ||
62 | NAME_REF@[57; 61) | ||
63 | IDENT@[57; 61) "Self" | ||
64 | R_ANGLE@[61; 62) | ||
65 | R_PAREN@[62; 63) | ||
66 | WHITESPACE@[63; 64) | ||
67 | BLOCK@[64; 66) | ||
68 | L_CURLY@[64; 65) | ||
69 | R_CURLY@[65; 66) | ||
70 | WHITESPACE@[66; 67) | ||
71 | R_CURLY@[67; 68) | ||
72 | WHITESPACE@[68; 69) | ||