aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
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/src/codegen
parent08ea2271e8050165d0aaf4c994ed3dd746aff3ba (diff)
Reame PlaceholderType -> InferType
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r--xtask/src/codegen/rust.ungram16
1 files changed, 8 insertions, 8 deletions
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 =