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