aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/err/0002_duplicate_shebang.rast
blob: 4cfd1bce4b1739768ff4b50796e921e9b1b42a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
SOURCE_FILE@0..42
  SHEBANG@0..20 "#!/use/bin/env rusti"
  WHITESPACE@20..21 "\n"
  ATTR@21..23
    POUND@21..22 "#"
    BANG@22..23 "!"
  ERROR@23..24
    SLASH@23..24 "/"
  USE@24..28
    USE_KW@24..27 "use"
    ERROR@27..28
      SLASH@27..28 "/"
  MACRO_CALL@28..31
    PATH@28..31
      PATH_SEGMENT@28..31
        NAME_REF@28..31
          IDENT@28..31 "bin"
  ERROR@31..32
    SLASH@31..32 "/"
  MACRO_CALL@32..41
    PATH@32..35
      PATH_SEGMENT@32..35
        NAME_REF@32..35
          IDENT@32..35 "env"
    WHITESPACE@35..36 " "
    NAME@36..41
      IDENT@36..41 "rusti"
  WHITESPACE@41..42 "\n"
error 23..23: expected `[`
error 23..23: expected an item
error 27..27: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error 28..28: expected SEMICOLON
error 31..31: expected BANG
error 31..31: expected `{`, `[`, `(`
error 31..31: expected SEMICOLON
error 31..31: expected an item
error 35..35: expected BANG
error 41..41: expected `{`, `[`, `(`
error 41..41: expected SEMICOLON