diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast b/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast new file mode 100644 index 000000000..5b3dc5af2 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast | |||
@@ -0,0 +1,21 @@ | |||
1 | SOURCE_FILE@[0; 19) | ||
2 | STATIC_DEF@[0; 18) | ||
3 | STATIC_KW@[0; 6) "static" | ||
4 | WHITESPACE@[6; 7) " " | ||
5 | ERROR@[7; 8) | ||
6 | UNDERSCORE@[7; 8) "_" | ||
7 | COLON@[8; 9) ":" | ||
8 | WHITESPACE@[9; 10) " " | ||
9 | PATH_TYPE@[10; 13) | ||
10 | PATH@[10; 13) | ||
11 | PATH_SEGMENT@[10; 13) | ||
12 | NAME_REF@[10; 13) | ||
13 | IDENT@[10; 13) "i32" | ||
14 | WHITESPACE@[13; 14) " " | ||
15 | EQ@[14; 15) "=" | ||
16 | WHITESPACE@[15; 16) " " | ||
17 | LITERAL@[16; 17) | ||
18 | INT_NUMBER@[16; 17) "5" | ||
19 | SEMI@[17; 18) ";" | ||
20 | WHITESPACE@[18; 19) "\n" | ||
21 | error [7; 7): expected a name | ||