rust/tests/data/parser/err/0004_use_path_bad_segment.txt
2018-01-28 23:13:32 +03:00

21 lines
476 B
Plaintext

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)
WHITESPACE@[3; 4)
IDENT@[4; 7) "foo"
COLONCOLON@[7; 9)
PATH_SEGMENT@[9; 9)
err: `expected identifier`
err: `expected SEMI`
ERROR@[9; 11)
err: `expected item`
INT_NUMBER@[9; 11)
ERROR@[11; 12)
err: `expected item, found `;`
consider removing this semicolon`
SEMI@[11; 12)