aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 17:04:57 +0100
committerAleksey Kladov <[email protected]>2020-07-31 17:10:46 +0100
commit7980a7e19a679e0bc128f2c142609f7f4a197bf6 (patch)
treee4243fc53feefa780ef0b1987ca5c92c6ea34090 /xtask/src/codegen
parentc1e53d668f2f44656ffeca31f06b8ed380426b08 (diff)
Minor
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r--xtask/src/codegen/rust.ungram13
1 files changed, 6 insertions, 7 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index aef07cb1e..8edabc3b9 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -215,14 +215,13 @@ Expr =
215| BreakExpr 215| BreakExpr
216| CallExpr 216| CallExpr
217| CastExpr 217| CastExpr
218| ClosureExpr
218| ContinueExpr 219| ContinueExpr
219| EffectExpr 220| EffectExpr
220| FieldExpr 221| FieldExpr
221| ForExpr 222| ForExpr
222| IfExpr 223| IfExpr
223| IndexExpr 224| IndexExpr
224| Label
225| ClosureExpr
226| Literal 225| Literal
227| LoopExpr 226| LoopExpr
228| MacroCall 227| MacroCall
@@ -340,7 +339,7 @@ ForExpr =
340 339
341WhileExpr = 340WhileExpr =
342 Attr* Label? 'while' Condition 341 Attr* Label? 'while' Condition
343 loop_body:BlockExpr? 342 loop_body:BlockExpr
344 343
345Label = 344Label =
346 'lifetime' 345 'lifetime'
@@ -418,13 +417,13 @@ SliceType =
418 '[' Type ']' 417 '[' Type ']'
419 418
420InferType = 419InferType =
421 '_' 420 '_'
422 421
423FnPointerType = 422FnPointerType =
424 'const'? 'async'? 'unsafe'? Abi? 'fn' ParamList RetType? 423 'const'? 'async'? 'unsafe'? Abi? 'fn' ParamList RetType?
425 424
426ForType = 425ForType =
427 'for' GenericParamList Type 426 'for' GenericParamList Type
428 427
429ImplTraitType = 428ImplTraitType =
430 'impl' TypeBoundList 429 'impl' TypeBoundList
@@ -433,7 +432,7 @@ DynTraitType =
433 'dyn' TypeBoundList 432 'dyn' TypeBoundList
434 433
435TypeBoundList = 434TypeBoundList =
436 bounds:(TypeBound ('+' TypeBound)* '+'?) 435 bounds:(TypeBound ('+' TypeBound)* '+'?)
437 436
438TypeBound = 437TypeBound =
439 'lifetime' 438 'lifetime'