diff options
Diffstat (limited to 'tests/data/parser')
-rw-r--r-- | tests/data/parser/ok/0009_use_item.rs | 2 | ||||
-rw-r--r-- | tests/data/parser/ok/0009_use_item.txt | 17 |
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/data/parser/ok/0009_use_item.rs b/tests/data/parser/ok/0009_use_item.rs new file mode 100644 index 000000000..05a6aff83 --- /dev/null +++ b/tests/data/parser/ok/0009_use_item.rs | |||
@@ -0,0 +1,2 @@ | |||
1 | use foo; | ||
2 | use ::bar; \ No newline at end of file | ||
diff --git a/tests/data/parser/ok/0009_use_item.txt b/tests/data/parser/ok/0009_use_item.txt new file mode 100644 index 000000000..f0b2981f2 --- /dev/null +++ b/tests/data/parser/ok/0009_use_item.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | FILE@[0; 19) | ||
2 | USE_ITEM@[0; 9) | ||
3 | USE_KW@[0; 3) | ||
4 | PATH@[3; 7) | ||
5 | PATH_SEGMENT@[3; 7) | ||
6 | WHITESPACE@[3; 4) | ||
7 | IDENT@[4; 7) | ||
8 | SEMI@[7; 8) | ||
9 | WHITESPACE@[8; 9) | ||
10 | USE_ITEM@[9; 19) | ||
11 | USE_KW@[9; 12) | ||
12 | PATH@[12; 18) | ||
13 | WHITESPACE@[12; 13) | ||
14 | COLONCOLON@[13; 15) | ||
15 | PATH_SEGMENT@[15; 18) | ||
16 | IDENT@[15; 18) | ||
17 | SEMI@[18; 19) | ||