aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/inline
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-07-31 17:55:33 +0100
committerAleksey Kladov <[email protected]>2018-07-31 17:55:33 +0100
commit3d70aeb412ab2ebc8e7b9418d75e8c3cd2d63df3 (patch)
tree11ad5206849da97917616c36cac4224f763057bc /tests/data/parser/inline
parent63e2ed4e75bc16cdd1882be031d026469b49dbc4 (diff)
Use names&refs
Diffstat (limited to 'tests/data/parser/inline')
-rw-r--r--tests/data/parser/inline/0014_type_item_type_params.txt3
-rw-r--r--tests/data/parser/inline/0041_type_param_bounds.txt3
-rw-r--r--tests/data/parser/inline/0042_type_param_default.txt5
-rw-r--r--tests/data/parser/inline/0056_trait_item.txt3
-rw-r--r--tests/data/parser/inline/0058_type_arg.txt5
5 files changed, 12 insertions, 7 deletions
diff --git a/tests/data/parser/inline/0014_type_item_type_params.txt b/tests/data/parser/inline/0014_type_item_type_params.txt
index 98a71414e..437ce13e1 100644
--- a/tests/data/parser/inline/0014_type_item_type_params.txt
+++ b/tests/data/parser/inline/0014_type_item_type_params.txt
@@ -7,7 +7,8 @@ FILE@[0; 21)
7 TYPE_PARAM_LIST@[11; 15) 7 TYPE_PARAM_LIST@[11; 15)
8 L_ANGLE@[11; 12) 8 L_ANGLE@[11; 12)
9 TYPE_PARAM@[12; 13) 9 TYPE_PARAM@[12; 13)
10 IDENT@[12; 13) "T" 10 NAME@[12; 13)
11 IDENT@[12; 13) "T"
11 R_ANGLE@[13; 14) 12 R_ANGLE@[13; 14)
12 WHITESPACE@[14; 15) 13 WHITESPACE@[14; 15)
13 EQ@[15; 16) 14 EQ@[15; 16)
diff --git a/tests/data/parser/inline/0041_type_param_bounds.txt b/tests/data/parser/inline/0041_type_param_bounds.txt
index d607bd416..c03a80fa0 100644
--- a/tests/data/parser/inline/0041_type_param_bounds.txt
+++ b/tests/data/parser/inline/0041_type_param_bounds.txt
@@ -7,7 +7,8 @@ FILE@[0; 35)
7 TYPE_PARAM_LIST@[8; 33) 7 TYPE_PARAM_LIST@[8; 33)
8 L_ANGLE@[8; 9) 8 L_ANGLE@[8; 9)
9 TYPE_PARAM@[9; 32) 9 TYPE_PARAM@[9; 32)
10 IDENT@[9; 10) "T" 10 NAME@[9; 10)
11 IDENT@[9; 10) "T"
11 COLON@[10; 11) 12 COLON@[10; 11)
12 WHITESPACE@[11; 12) 13 WHITESPACE@[11; 12)
13 LIFETIME@[12; 14) "'a" 14 LIFETIME@[12; 14) "'a"
diff --git a/tests/data/parser/inline/0042_type_param_default.txt b/tests/data/parser/inline/0042_type_param_default.txt
index 9642a9084..24671ed6b 100644
--- a/tests/data/parser/inline/0042_type_param_default.txt
+++ b/tests/data/parser/inline/0042_type_param_default.txt
@@ -7,8 +7,9 @@ FILE@[0; 19)
7 TYPE_PARAM_LIST@[8; 17) 7 TYPE_PARAM_LIST@[8; 17)
8 L_ANGLE@[8; 9) 8 L_ANGLE@[8; 9)
9 TYPE_PARAM@[9; 16) 9 TYPE_PARAM@[9; 16)
10 IDENT@[9; 10) "T" 10 NAME@[9; 11)
11 WHITESPACE@[10; 11) 11 IDENT@[9; 10) "T"
12 WHITESPACE@[10; 11)
12 EQ@[11; 12) 13 EQ@[11; 12)
13 PATH_TYPE@[12; 16) 14 PATH_TYPE@[12; 16)
14 PATH@[12; 16) 15 PATH@[12; 16)
diff --git a/tests/data/parser/inline/0056_trait_item.txt b/tests/data/parser/inline/0056_trait_item.txt
index 87efc78e9..7ed8d4a55 100644
--- a/tests/data/parser/inline/0056_trait_item.txt
+++ b/tests/data/parser/inline/0056_trait_item.txt
@@ -7,7 +7,8 @@ FILE@[0; 42)
7 TYPE_PARAM_LIST@[7; 10) 7 TYPE_PARAM_LIST@[7; 10)
8 L_ANGLE@[7; 8) 8 L_ANGLE@[7; 8)
9 TYPE_PARAM@[8; 9) 9 TYPE_PARAM@[8; 9)
10 IDENT@[8; 9) "U" 10 NAME@[8; 9)
11 IDENT@[8; 9) "U"
11 R_ANGLE@[9; 10) 12 R_ANGLE@[9; 10)
12 COLON@[10; 11) 13 COLON@[10; 11)
13 PATH@[11; 17) 14 PATH@[11; 17)
diff --git a/tests/data/parser/inline/0058_type_arg.txt b/tests/data/parser/inline/0058_type_arg.txt
index af4bcedef..7a3a2aa10 100644
--- a/tests/data/parser/inline/0058_type_arg.txt
+++ b/tests/data/parser/inline/0058_type_arg.txt
@@ -26,8 +26,9 @@ FILE@[0; 35)
26 IDENT@[20; 23) "i32" 26 IDENT@[20; 23) "i32"
27 COMMA@[23; 24) 27 COMMA@[23; 24)
28 ASSOC_TYPE_ARG@[24; 33) 28 ASSOC_TYPE_ARG@[24; 33)
29 WHITESPACE@[24; 25) 29 NAME_REF@[24; 29)
30 IDENT@[25; 29) "Item" 30 WHITESPACE@[24; 25)
31 IDENT@[25; 29) "Item"
31 EQ@[29; 30) 32 EQ@[29; 30)
32 PATH_TYPE@[30; 33) 33 PATH_TYPE@[30; 33)
33 PATH@[30; 33) 34 PATH@[30; 33)