aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/err/0004_use_path_bad_segment.txt
blob: c6ae681037fac03b93802f6c4f78b8bb3612a079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FILE@[0; 12)
  USE_ITEM@[0; 9)
    USE_KW@[0; 3)
    WHITESPACE@[3; 4)
    USE_TREE@[4; 9)
      PATH@[4; 9)
        PATH@[4; 7)
          PATH_SEGMENT@[4; 7)
            NAME_REF@[4; 7)
              IDENT@[4; 7) "foo"
        COLONCOLON@[7; 9)
        err: `expected identifier`
        err: `expected SEMI`
        err: `expected an item`
        PATH_SEGMENT@[9; 9)
  ERROR@[9; 11)
    INT_NUMBER@[9; 11) "92"
    err: `expected an item`
  ERROR@[11; 12)
    SEMI@[11; 12)