rust/tests/data/parser/err/0004_use_path_bad_segment.txt

22 lines
508 B
Plaintext
Raw Normal View History

2018-01-13 02:55:03 -06:00
FILE@[0; 12)
USE_ITEM@[0; 9)
USE_KW@[0; 3)
2018-01-13 04:42:19 -06:00
USE_TREE@[3; 9)
PATH@[3; 9)
PATH@[3; 7)
PATH_SEGMENT@[3; 7)
2018-02-10 05:17:38 -06:00
NAME_REF@[3; 7)
WHITESPACE@[3; 4)
IDENT@[4; 7) "foo"
2018-01-13 04:42:19 -06:00
COLONCOLON@[7; 9)
PATH_SEGMENT@[9; 9)
err: `expected identifier`
2018-01-13 02:55:03 -06:00
err: `expected SEMI`
2018-01-20 08:21:13 -06:00
ERROR@[9; 11)
2018-01-13 02:55:03 -06:00
err: `expected item`
INT_NUMBER@[9; 11)
2018-01-20 08:21:13 -06:00
ERROR@[11; 12)
err: `expected item, found `;`
consider removing this semicolon`
2018-01-13 02:55:03 -06:00
SEMI@[11; 12)