aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/inline
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/parser/inline')
-rw-r--r--tests/data/parser/inline/0006_extern_struct.txt2
-rw-r--r--tests/data/parser/inline/0013_unsafe_block_in_mod.txt2
-rw-r--r--tests/data/parser/inline/0023_array_type_missing_semi.txt12
-rw-r--r--tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt10
4 files changed, 13 insertions, 13 deletions
diff --git a/tests/data/parser/inline/0006_extern_struct.txt b/tests/data/parser/inline/0006_extern_struct.txt
index 93a5b0477..f310e1225 100644
--- a/tests/data/parser/inline/0006_extern_struct.txt
+++ b/tests/data/parser/inline/0006_extern_struct.txt
@@ -2,7 +2,7 @@ FILE@[0; 19)
2 ABI@[0; 7) 2 ABI@[0; 7)
3 EXTERN_KW@[0; 6) 3 EXTERN_KW@[0; 6)
4 WHITESPACE@[6; 7) 4 WHITESPACE@[6; 7)
5 err: `expected `fn` or `{`` 5 err: `expected `fn` or `{``
6 STRUCT_ITEM@[7; 19) 6 STRUCT_ITEM@[7; 19)
7 STRUCT_KW@[7; 13) 7 STRUCT_KW@[7; 13)
8 NAME@[13; 17) 8 NAME@[13; 17)
diff --git a/tests/data/parser/inline/0013_unsafe_block_in_mod.txt b/tests/data/parser/inline/0013_unsafe_block_in_mod.txt
index 5ddc1736c..3b56378a3 100644
--- a/tests/data/parser/inline/0013_unsafe_block_in_mod.txt
+++ b/tests/data/parser/inline/0013_unsafe_block_in_mod.txt
@@ -11,8 +11,8 @@ FILE@[0; 33)
11 R_CURLY@[9; 10) 11 R_CURLY@[9; 10)
12 WHITESPACE@[10; 11) 12 WHITESPACE@[10; 11)
13 UNSAFE_KW@[11; 17) 13 UNSAFE_KW@[11; 17)
14 ERROR@[17; 22)
15 err: `expected `trait`, `impl` or `fn`` 14 err: `expected `trait`, `impl` or `fn``
15 ERROR@[17; 22)
16 WHITESPACE@[17; 18) 16 WHITESPACE@[17; 18)
17 L_CURLY@[18; 19) 17 L_CURLY@[18; 19)
18 WHITESPACE@[19; 20) 18 WHITESPACE@[19; 20)
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 bb30a2a2a..cc280d5a7 100644
--- a/tests/data/parser/inline/0023_array_type_missing_semi.txt
+++ b/tests/data/parser/inline/0023_array_type_missing_semi.txt
@@ -13,16 +13,16 @@ 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 `;` or `]`` 16 err: `expected SEMI`
17 err: `expected SEMI` 17 err: `expected `;` or `]``
18 err: `expected item`
18 ERROR@[13; 15) 19 ERROR@[13; 15)
19 err: `expected item`
20 INT_NUMBER@[13; 15) 20 INT_NUMBER@[13; 15)
21 err: `expected item`
21 ERROR@[15; 16) 22 ERROR@[15; 16)
22 err: `expected item`
23 R_BRACK@[15; 16) 23 R_BRACK@[15; 16)
24 ERROR@[16; 18) 24 err: `expected item, found `;`
25 err: `expected item, found `;`
26consider removing this semicolon` 25consider removing this semicolon`
26 ERROR@[16; 18)
27 SEMI@[16; 17) 27 SEMI@[16; 17)
28 WHITESPACE@[17; 18) 28 WHITESPACE@[17; 18)
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 dd6e24096..d6c27cf58 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,17 +8,17 @@ 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 `fn``
12 err: `expected SEMI` 11 err: `expected SEMI`
12 err: `expected `fn``
13 WHITESPACE@[15; 16) 13 WHITESPACE@[15; 16)
14 err: `expected item`
14 ERROR@[16; 17) 15 ERROR@[16; 17)
15 err: `expected item`
16 L_PAREN@[16; 17) 16 L_PAREN@[16; 17)
17 err: `expected item`
17 ERROR@[17; 18) 18 ERROR@[17; 18)
18 err: `expected item`
19 R_PAREN@[17; 18) 19 R_PAREN@[17; 18)
20 ERROR@[18; 20) 20 err: `expected item, found `;`
21 err: `expected item, found `;`
22consider removing this semicolon` 21consider removing this semicolon`
22 ERROR@[18; 20)
23 SEMI@[18; 19) 23 SEMI@[18; 19)
24 WHITESPACE@[19; 20) 24 WHITESPACE@[19; 20)