aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 12:22:47 +0100
committerAleksey Kladov <[email protected]>2020-07-31 13:12:51 +0100
commita6e45c6c69bf258118940941c12d057deb79e60c (patch)
tree35fa6b63518cec8219a43e96525f6d570ac18eec /xtask
parent08ea2271e8050165d0aaf4c994ed3dd746aff3ba (diff)
Reame PlaceholderType -> InferType
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/ast_src.rs2
-rw-r--r--xtask/src/codegen/rust.ungram16
2 files changed, 9 insertions, 9 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index 114898e38..38b60b2a5 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -117,7 +117,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
117 "ARRAY_TYPE", 117 "ARRAY_TYPE",
118 "SLICE_TYPE", 118 "SLICE_TYPE",
119 "REFERENCE_TYPE", 119 "REFERENCE_TYPE",
120 "PLACEHOLDER_TYPE", 120 "INFER_TYPE",
121 "FN_POINTER_TYPE", 121 "FN_POINTER_TYPE",
122 "FOR_TYPE", 122 "FOR_TYPE",
123 "IMPL_TRAIT_TYPE", 123 "IMPL_TRAIT_TYPE",
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 8f0e66278..5dee85c2d 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -197,7 +197,7 @@ Type =
197| ArrayType 197| ArrayType
198| SliceType 198| SliceType
199| ReferenceType 199| ReferenceType
200| PlaceholderType 200| InferType
201| FnPointerType 201| FnPointerType
202| ForType 202| ForType
203| ImplTraitType 203| ImplTraitType
@@ -206,28 +206,28 @@ Type =
206ParenType = 206ParenType =
207 '(' Type ')' 207 '(' Type ')'
208 208
209TupleType =
210 '(' fields:Type* ')'
211
212NeverType = 209NeverType =
213 '!' 210 '!'
214 211
215PathType = 212PathType =
216 Path 213 Path
217 214
215TupleType =
216 '(' fields:(Type (',' Type)* ','?)? ')'
217
218PointerType = 218PointerType =
219 '*' ('const' | 'mut') Type 219 '*' ('const' | 'mut') Type
220 220
221ReferenceType =
222 '&' 'lifetime'? 'mut'? Type
223
221ArrayType = 224ArrayType =
222 '[' Type ';' Expr ']' 225 '[' Type ';' Expr ']'
223 226
224SliceType = 227SliceType =
225 '[' Type ']' 228 '[' Type ']'
226 229
227ReferenceType = 230InferType =
228 '&' 'lifetime'? 'mut'? Type
229
230PlaceholderType =
231 '_' 231 '_'
232 232
233FnPointerType = 233FnPointerType =