diff options
Diffstat (limited to 'tests')
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/data/parser/err/0001_item_recovery_in_file.txt b/tests/data/parser/err/0001_item_recovery_in_file.txt index 01bd2abe6..f35b97b48 100644 --- a/tests/data/parser/err/0001_item_recovery_in_file.txt +++ b/tests/data/parser/err/0001_item_recovery_in_file.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | FILE@[0; 21) | 1 | FILE@[0; 21) |
2 | err: `expected item` | ||
3 | ERROR@[0; 3) | 2 | ERROR@[0; 3) |
4 | IF_KW@[0; 2) | 3 | IF_KW@[0; 2) |
4 | err: `expected item` | ||
5 | WHITESPACE@[2; 3) | 5 | WHITESPACE@[2; 3) |
6 | err: `expected item` | 6 | err: `expected item` |
7 | ERROR@[3; 10) | 7 | ERROR@[3; 10) |
diff --git a/tests/data/parser/err/0004_use_path_bad_segment.txt b/tests/data/parser/err/0004_use_path_bad_segment.txt index d9ff79ebe..d58bf263b 100644 --- a/tests/data/parser/err/0004_use_path_bad_segment.txt +++ b/tests/data/parser/err/0004_use_path_bad_segment.txt | |||
@@ -9,8 +9,8 @@ FILE@[0; 12) | |||
9 | WHITESPACE@[3; 4) | 9 | WHITESPACE@[3; 4) |
10 | IDENT@[4; 7) "foo" | 10 | IDENT@[4; 7) "foo" |
11 | COLONCOLON@[7; 9) | 11 | COLONCOLON@[7; 9) |
12 | err: `expected SEMI` | ||
13 | err: `expected identifier` | 12 | err: `expected identifier` |
13 | err: `expected SEMI` | ||
14 | err: `expected item` | 14 | err: `expected item` |
15 | PATH_SEGMENT@[9; 9) | 15 | PATH_SEGMENT@[9; 9) |
16 | ERROR@[9; 11) | 16 | ERROR@[9; 11) |
diff --git a/tests/data/parser/err/0007_stray_curly_in_file.txt b/tests/data/parser/err/0007_stray_curly_in_file.txt index 6995ec6ff..07c99e9fc 100644 --- a/tests/data/parser/err/0007_stray_curly_in_file.txt +++ b/tests/data/parser/err/0007_stray_curly_in_file.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | FILE@[0; 31) | 1 | FILE@[0; 31) |
2 | err: `expected item` | ||
3 | ERROR@[0; 3) | 2 | ERROR@[0; 3) |
4 | R_CURLY@[0; 1) | 3 | R_CURLY@[0; 1) |
4 | err: `expected item` | ||
5 | WHITESPACE@[1; 3) | 5 | WHITESPACE@[1; 3) |
6 | STRUCT_ITEM@[3; 14) | 6 | STRUCT_ITEM@[3; 14) |
7 | STRUCT_KW@[3; 9) | 7 | STRUCT_KW@[3; 9) |
diff --git a/tests/data/parser/inline/0023_array_type_missing_semi.txt b/tests/data/parser/inline/0023_array_type_missing_semi.txt index cc280d5a7..9b210dcd4 100644 --- a/tests/data/parser/inline/0023_array_type_missing_semi.txt +++ b/tests/data/parser/inline/0023_array_type_missing_semi.txt | |||
@@ -13,8 +13,8 @@ FILE@[0; 18) | |||
13 | L_PAREN@[10; 11) | 13 | L_PAREN@[10; 11) |
14 | R_PAREN@[11; 12) | 14 | R_PAREN@[11; 12) |
15 | WHITESPACE@[12; 13) | 15 | WHITESPACE@[12; 13) |
16 | err: `expected SEMI` | ||
17 | err: `expected `;` or `]`` | 16 | err: `expected `;` or `]`` |
17 | err: `expected SEMI` | ||
18 | err: `expected item` | 18 | err: `expected item` |
19 | ERROR@[13; 15) | 19 | ERROR@[13; 15) |
20 | INT_NUMBER@[13; 15) | 20 | INT_NUMBER@[13; 15) |
diff --git a/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt b/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt index d6c27cf58..c99714ed4 100644 --- a/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt +++ b/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt | |||
@@ -8,8 +8,8 @@ FILE@[0; 20) | |||
8 | EQ@[7; 8) | 8 | EQ@[7; 8) |
9 | WHITESPACE@[8; 9) | 9 | WHITESPACE@[8; 9) |
10 | UNSAFE_KW@[9; 15) | 10 | UNSAFE_KW@[9; 15) |
11 | err: `expected SEMI` | ||
12 | err: `expected `fn`` | 11 | err: `expected `fn`` |
12 | err: `expected SEMI` | ||
13 | WHITESPACE@[15; 16) | 13 | WHITESPACE@[15; 16) |
14 | err: `expected item` | 14 | err: `expected item` |
15 | ERROR@[16; 17) | 15 | ERROR@[16; 17) |