aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.txt
blob: bdb5fa6c5af223986c42cc462e7d4d3f922849d1 (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) "#"
    EXCL@[22; 23) "!"
  ERROR@[23; 24)
    SLASH@[23; 24) "/"
  USE_ITEM@[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: expected `[`
error 23: expected an item
error 27: expected one of `*`, `::`, `{`, `self`, `super` or an identifier
error 28: expected SEMI
error 31: expected EXCL
error 31: expected `{`, `[`, `(`
error 31: expected SEMI
error 31: expected an item
error 35: expected EXCL
error 41: expected `{`, `[`, `(`
error 41: expected SEMI