diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.txt | 101 |
1 files changed, 51 insertions, 50 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.txt b/crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.txt index e4f1f6337..b65cc3de3 100644 --- a/crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.txt +++ b/crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.txt | |||
@@ -8,56 +8,57 @@ SOURCE_FILE@[0; 89) | |||
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; 88) | 11 | BLOCK_EXPR@[9; 88) |
12 | L_CURLY@[9; 10) "{" | 12 | BLOCK@[9; 88) |
13 | WHITESPACE@[10; 15) "\n " | 13 | L_CURLY@[9; 10) "{" |
14 | MATCH_EXPR@[15; 86) | 14 | WHITESPACE@[10; 15) "\n " |
15 | MATCH_KW@[15; 20) "match" | 15 | MATCH_EXPR@[15; 86) |
16 | WHITESPACE@[20; 21) " " | 16 | MATCH_KW@[15; 20) "match" |
17 | TUPLE_EXPR@[21; 23) | 17 | WHITESPACE@[20; 21) " " |
18 | L_PAREN@[21; 22) "(" | 18 | TUPLE_EXPR@[21; 23) |
19 | R_PAREN@[22; 23) ")" | 19 | L_PAREN@[21; 22) "(" |
20 | WHITESPACE@[23; 24) " " | 20 | R_PAREN@[22; 23) ")" |
21 | MATCH_ARM_LIST@[24; 86) | 21 | WHITESPACE@[23; 24) " " |
22 | L_CURLY@[24; 25) "{" | 22 | MATCH_ARM_LIST@[24; 86) |
23 | WHITESPACE@[25; 34) "\n " | 23 | L_CURLY@[24; 25) "{" |
24 | MATCH_ARM@[34; 41) | 24 | WHITESPACE@[25; 34) "\n " |
25 | PLACEHOLDER_PAT@[34; 35) | 25 | MATCH_ARM@[34; 41) |
26 | UNDERSCORE@[34; 35) "_" | 26 | PLACEHOLDER_PAT@[34; 35) |
27 | WHITESPACE@[35; 36) " " | 27 | UNDERSCORE@[34; 35) "_" |
28 | FAT_ARROW@[36; 38) "=>" | 28 | WHITESPACE@[35; 36) " " |
29 | WHITESPACE@[38; 39) " " | 29 | FAT_ARROW@[36; 38) "=>" |
30 | TUPLE_EXPR@[39; 41) | 30 | WHITESPACE@[38; 39) " " |
31 | L_PAREN@[39; 40) "(" | 31 | TUPLE_EXPR@[39; 41) |
32 | R_PAREN@[40; 41) ")" | 32 | L_PAREN@[39; 40) "(" |
33 | COMMA@[41; 42) "," | 33 | R_PAREN@[40; 41) ")" |
34 | WHITESPACE@[42; 51) "\n " | 34 | COMMA@[41; 42) "," |
35 | MATCH_ARM@[51; 58) | 35 | WHITESPACE@[42; 51) "\n " |
36 | PLACEHOLDER_PAT@[51; 52) | 36 | MATCH_ARM@[51; 58) |
37 | UNDERSCORE@[51; 52) "_" | 37 | PLACEHOLDER_PAT@[51; 52) |
38 | WHITESPACE@[52; 53) " " | 38 | UNDERSCORE@[51; 52) "_" |
39 | FAT_ARROW@[53; 55) "=>" | 39 | WHITESPACE@[52; 53) " " |
40 | WHITESPACE@[55; 56) " " | 40 | FAT_ARROW@[53; 55) "=>" |
41 | TUPLE_EXPR@[56; 58) | 41 | WHITESPACE@[55; 56) " " |
42 | L_PAREN@[56; 57) "(" | 42 | TUPLE_EXPR@[56; 58) |
43 | R_PAREN@[57; 58) ")" | 43 | L_PAREN@[56; 57) "(" |
44 | COMMA@[58; 59) "," | 44 | R_PAREN@[57; 58) ")" |
45 | WHITESPACE@[59; 68) "\n " | 45 | COMMA@[58; 59) "," |
46 | MATCH_ARM@[68; 80) | 46 | WHITESPACE@[59; 68) "\n " |
47 | ATTR@[68; 80) | 47 | MATCH_ARM@[68; 80) |
48 | POUND@[68; 69) "#" | 48 | ATTR@[68; 80) |
49 | TOKEN_TREE@[69; 80) | 49 | POUND@[68; 69) "#" |
50 | L_BRACK@[69; 70) "[" | 50 | TOKEN_TREE@[69; 80) |
51 | IDENT@[70; 73) "cfg" | 51 | L_BRACK@[69; 70) "[" |
52 | TOKEN_TREE@[73; 79) | 52 | IDENT@[70; 73) "cfg" |
53 | L_PAREN@[73; 74) "(" | 53 | TOKEN_TREE@[73; 79) |
54 | IDENT@[74; 78) "test" | 54 | L_PAREN@[73; 74) "(" |
55 | R_PAREN@[78; 79) ")" | 55 | IDENT@[74; 78) "test" |
56 | R_BRACK@[79; 80) "]" | 56 | R_PAREN@[78; 79) ")" |
57 | WHITESPACE@[80; 85) "\n " | 57 | R_BRACK@[79; 80) "]" |
58 | R_CURLY@[85; 86) "}" | 58 | WHITESPACE@[80; 85) "\n " |
59 | WHITESPACE@[86; 87) "\n" | 59 | R_CURLY@[85; 86) "}" |
60 | R_CURLY@[87; 88) "}" | 60 | WHITESPACE@[86; 87) "\n" |
61 | R_CURLY@[87; 88) "}" | ||
61 | WHITESPACE@[88; 89) "\n" | 62 | WHITESPACE@[88; 89) "\n" |
62 | error 80: expected pattern | 63 | error 80: expected pattern |
63 | error 80: expected FAT_ARROW | 64 | error 80: expected FAT_ARROW |