diff options
Diffstat (limited to 'crates/syntax/test_data/parser/err/0002_duplicate_shebang.rast')
-rw-r--r-- | crates/syntax/test_data/parser/err/0002_duplicate_shebang.rast | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/err/0002_duplicate_shebang.rast b/crates/syntax/test_data/parser/err/0002_duplicate_shebang.rast new file mode 100644 index 000000000..4cfd1bce4 --- /dev/null +++ b/crates/syntax/test_data/parser/err/0002_duplicate_shebang.rast | |||
@@ -0,0 +1,39 @@ | |||
1 | [email protected] | ||
2 | [email protected] "#!/use/bin/env rusti" | ||
3 | [email protected] "\n" | ||
4 | [email protected] | ||
5 | [email protected] "#" | ||
6 | [email protected] "!" | ||
7 | [email protected] | ||
8 | [email protected] "/" | ||
9 | [email protected] | ||
10 | [email protected] "use" | ||
11 | [email protected] | ||
12 | [email protected] "/" | ||
13 | [email protected] | ||
14 | [email protected] | ||
15 | [email protected] | ||
16 | [email protected] | ||
17 | [email protected] "bin" | ||
18 | [email protected] | ||
19 | [email protected] "/" | ||
20 | [email protected] | ||
21 | [email protected] | ||
22 | [email protected] | ||
23 | [email protected] | ||
24 | [email protected] "env" | ||
25 | [email protected] " " | ||
26 | [email protected] | ||
27 | [email protected] "rusti" | ||
28 | [email protected] "\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 SEMICOLON | ||
33 | error 31..31: expected BANG | ||
34 | error 31..31: expected `{`, `[`, `(` | ||
35 | error 31..31: expected SEMICOLON | ||
36 | error 31..31: expected an item | ||
37 | error 35..35: expected BANG | ||
38 | error 41..41: expected `{`, `[`, `(` | ||
39 | error 41..41: expected SEMICOLON | ||