aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests/data/parser/err
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err')
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.txt2
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.txt2
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt2
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt2
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.txt2
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.txt4
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0011_extern_struct.txt2
7 files changed, 8 insertions, 8 deletions
diff --git a/crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.txt b/crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.txt
index 1b5d722f8..4394f4011 100644
--- a/crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.txt
+++ b/crates/libsyntax2/tests/data/parser/err/0000_struct_field_missing_comma.txt
@@ -1,5 +1,5 @@
1FILE@[0; 34) 1FILE@[0; 34)
2 STRUCT_ITEM@[0; 34) 2 STRUCT@[0; 34)
3 STRUCT_KW@[0; 6) 3 STRUCT_KW@[0; 6)
4 WHITESPACE@[6; 7) 4 WHITESPACE@[6; 7)
5 NAME@[7; 8) 5 NAME@[7; 8)
diff --git a/crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.txt b/crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.txt
index 1aaf07625..efae193e2 100644
--- a/crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.txt
+++ b/crates/libsyntax2/tests/data/parser/err/0001_item_recovery_in_file.txt
@@ -7,7 +7,7 @@ FILE@[0; 21)
7 ERROR@[3; 8) 7 ERROR@[3; 8)
8 MATCH_KW@[3; 8) 8 MATCH_KW@[3; 8)
9 WHITESPACE@[8; 10) 9 WHITESPACE@[8; 10)
10 STRUCT_ITEM@[10; 21) 10 STRUCT@[10; 21)
11 STRUCT_KW@[10; 16) 11 STRUCT_KW@[10; 16)
12 WHITESPACE@[16; 17) 12 WHITESPACE@[16; 17)
13 NAME@[17; 18) 13 NAME@[17; 18)
diff --git a/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt b/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt
index 81777fec0..88f3f81f1 100644
--- a/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt
+++ b/crates/libsyntax2/tests/data/parser/err/0003_C++_semicolon.txt
@@ -1,5 +1,5 @@
1FILE@[0; 40) 1FILE@[0; 40)
2 STRUCT_ITEM@[0; 40) 2 STRUCT@[0; 40)
3 STRUCT_KW@[0; 6) 3 STRUCT_KW@[0; 6)
4 WHITESPACE@[6; 7) 4 WHITESPACE@[6; 7)
5 NAME@[7; 8) 5 NAME@[7; 8)
diff --git a/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt b/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt
index 009b307b1..a9af71e25 100644
--- a/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt
+++ b/crates/libsyntax2/tests/data/parser/err/0006_named_field_recovery.txt
@@ -1,5 +1,5 @@
1FILE@[0; 74) 1FILE@[0; 74)
2 STRUCT_ITEM@[0; 73) 2 STRUCT@[0; 73)
3 STRUCT_KW@[0; 6) 3 STRUCT_KW@[0; 6)
4 WHITESPACE@[6; 7) 4 WHITESPACE@[6; 7)
5 NAME@[7; 8) 5 NAME@[7; 8)
diff --git a/crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.txt b/crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.txt
index b36decb46..271299bb1 100644
--- a/crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.txt
+++ b/crates/libsyntax2/tests/data/parser/err/0007_stray_curly_in_file.txt
@@ -3,7 +3,7 @@ FILE@[0; 31)
3 R_CURLY@[0; 1) 3 R_CURLY@[0; 1)
4 err: `expected an item` 4 err: `expected an item`
5 WHITESPACE@[1; 3) 5 WHITESPACE@[1; 3)
6 STRUCT_ITEM@[3; 12) 6 STRUCT@[3; 12)
7 STRUCT_KW@[3; 9) 7 STRUCT_KW@[3; 9)
8 WHITESPACE@[9; 10) 8 WHITESPACE@[9; 10)
9 NAME@[10; 11) 9 NAME@[10; 11)
diff --git a/crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.txt b/crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.txt
index fc736f0e9..33409bc82 100644
--- a/crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.txt
+++ b/crates/libsyntax2/tests/data/parser/err/0009_broken_struct_type_parameter.txt
@@ -1,5 +1,5 @@
1FILE@[0; 43) 1FILE@[0; 43)
2 STRUCT_ITEM@[0; 11) 2 STRUCT@[0; 11)
3 STRUCT_KW@[0; 6) 3 STRUCT_KW@[0; 6)
4 WHITESPACE@[6; 7) 4 WHITESPACE@[6; 7)
5 NAME@[7; 8) 5 NAME@[7; 8)
@@ -35,7 +35,7 @@ FILE@[0; 43)
35 WHITESPACE@[29; 30) 35 WHITESPACE@[29; 30)
36 R_CURLY@[30; 31) 36 R_CURLY@[30; 31)
37 WHITESPACE@[31; 33) 37 WHITESPACE@[31; 33)
38 STRUCT_ITEM@[33; 42) 38 STRUCT@[33; 42)
39 STRUCT_KW@[33; 39) 39 STRUCT_KW@[33; 39)
40 WHITESPACE@[39; 40) 40 WHITESPACE@[39; 40)
41 NAME@[40; 41) 41 NAME@[40; 41)
diff --git a/crates/libsyntax2/tests/data/parser/err/0011_extern_struct.txt b/crates/libsyntax2/tests/data/parser/err/0011_extern_struct.txt
index 3c5b678a1..42aef82da 100644
--- a/crates/libsyntax2/tests/data/parser/err/0011_extern_struct.txt
+++ b/crates/libsyntax2/tests/data/parser/err/0011_extern_struct.txt
@@ -4,7 +4,7 @@ FILE@[0; 19)
4 EXTERN_KW@[0; 6) 4 EXTERN_KW@[0; 6)
5 err: `expected fn, trait or impl` 5 err: `expected fn, trait or impl`
6 WHITESPACE@[6; 7) 6 WHITESPACE@[6; 7)
7 STRUCT_ITEM@[7; 18) 7 STRUCT@[7; 18)
8 STRUCT_KW@[7; 13) 8 STRUCT_KW@[7; 13)
9 WHITESPACE@[13; 14) 9 WHITESPACE@[13; 14)
10 NAME@[14; 17) 10 NAME@[14; 17)