diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast b/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast new file mode 100644 index 000000000..f239b7b1e --- /dev/null +++ b/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast | |||
@@ -0,0 +1,49 @@ | |||
1 | SOURCE_FILE@[0; 38) | ||
2 | IMPL_DEF@[0; 14) | ||
3 | IMPL_KW@[0; 4) "impl" | ||
4 | TYPE_PARAM_LIST@[4; 14) | ||
5 | L_ANGLE@[4; 5) "<" | ||
6 | TYPE_PARAM@[5; 13) | ||
7 | NAME@[5; 6) | ||
8 | IDENT@[5; 6) "T" | ||
9 | COLON@[6; 7) ":" | ||
10 | WHITESPACE@[7; 8) " " | ||
11 | TYPE_BOUND_LIST@[8; 13) | ||
12 | TYPE_BOUND@[8; 13) | ||
13 | PATH_TYPE@[8; 13) | ||
14 | PATH@[8; 13) | ||
15 | PATH_SEGMENT@[8; 13) | ||
16 | NAME_REF@[8; 13) | ||
17 | IDENT@[8; 13) "Clone" | ||
18 | R_ANGLE@[13; 14) ">" | ||
19 | WHITESPACE@[14; 15) "\n" | ||
20 | IMPL_DEF@[15; 37) | ||
21 | IMPL_KW@[15; 19) "impl" | ||
22 | TYPE_PARAM_LIST@[19; 22) | ||
23 | L_ANGLE@[19; 20) "<" | ||
24 | TYPE_PARAM@[20; 21) | ||
25 | NAME@[20; 21) | ||
26 | IDENT@[20; 21) "T" | ||
27 | R_ANGLE@[21; 22) ">" | ||
28 | WHITESPACE@[22; 23) " " | ||
29 | PATH_TYPE@[23; 34) | ||
30 | PATH@[23; 34) | ||
31 | PATH_SEGMENT@[23; 34) | ||
32 | NAME_REF@[23; 31) | ||
33 | IDENT@[23; 31) "OnceCell" | ||
34 | TYPE_ARG_LIST@[31; 34) | ||
35 | L_ANGLE@[31; 32) "<" | ||
36 | TYPE_ARG@[32; 33) | ||
37 | PATH_TYPE@[32; 33) | ||
38 | PATH@[32; 33) | ||
39 | PATH_SEGMENT@[32; 33) | ||
40 | NAME_REF@[32; 33) | ||
41 | IDENT@[32; 33) "T" | ||
42 | R_ANGLE@[33; 34) ">" | ||
43 | WHITESPACE@[34; 35) " " | ||
44 | ITEM_LIST@[35; 37) | ||
45 | L_CURLY@[35; 36) "{" | ||
46 | R_CURLY@[36; 37) "}" | ||
47 | WHITESPACE@[37; 38) "\n" | ||
48 | error [14; 14): expected trait or type | ||
49 | error [14; 14): expected `{` | ||