diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast b/crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast new file mode 100644 index 000000000..002680583 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast | |||
@@ -0,0 +1,39 @@ | |||
1 | SOURCE_FILE@[0; 42) | ||
2 | SHEBANG@[0; 20) "#!/use/bin/env rusti" | ||
3 | WHITESPACE@[20; 21) "\n" | ||
4 | ATTR@[21; 23) | ||
5 | POUND@[21; 22) "#" | ||
6 | EXCL@[22; 23) "!" | ||
7 | ERROR@[23; 24) | ||
8 | SLASH@[23; 24) "/" | ||
9 | USE_ITEM@[24; 28) | ||
10 | USE_KW@[24; 27) "use" | ||
11 | ERROR@[27; 28) | ||
12 | SLASH@[27; 28) "/" | ||
13 | MACRO_CALL@[28; 31) | ||
14 | PATH@[28; 31) | ||
15 | PATH_SEGMENT@[28; 31) | ||
16 | NAME_REF@[28; 31) | ||
17 | IDENT@[28; 31) "bin" | ||
18 | ERROR@[31; 32) | ||
19 | SLASH@[31; 32) "/" | ||
20 | MACRO_CALL@[32; 41) | ||
21 | PATH@[32; 35) | ||
22 | PATH_SEGMENT@[32; 35) | ||
23 | NAME_REF@[32; 35) | ||
24 | IDENT@[32; 35) "env" | ||
25 | WHITESPACE@[35; 36) " " | ||
26 | NAME@[36; 41) | ||
27 | IDENT@[36; 41) "rusti" | ||
28 | WHITESPACE@[41; 42) "\n" | ||
29 | error [23; 23): expected `[` | ||
30 | error [23; 23): expected an item | ||
31 | error [27; 27): expected one of `*`, `::`, `{`, `self`, `super` or an identifier | ||
32 | error [28; 28): expected SEMI | ||
33 | error [31; 31): expected EXCL | ||
34 | error [31; 31): expected `{`, `[`, `(` | ||
35 | error [31; 31): expected SEMI | ||
36 | error [31; 31): expected an item | ||
37 | error [35; 35): expected EXCL | ||
38 | error [41; 41): expected `{`, `[`, `(` | ||
39 | error [41; 41): expected SEMI | ||