diff options
author | Aleksey Kladov <[email protected]> | 2020-07-31 17:04:57 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-31 17:10:46 +0100 |
commit | 7980a7e19a679e0bc128f2c142609f7f4a197bf6 (patch) | |
tree | e4243fc53feefa780ef0b1987ca5c92c6ea34090 /xtask/src/codegen | |
parent | c1e53d668f2f44656ffeca31f06b8ed380426b08 (diff) |
Minor
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 13 |
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 | ||
341 | WhileExpr = | 340 | WhileExpr = |
342 | Attr* Label? 'while' Condition | 341 | Attr* Label? 'while' Condition |
343 | loop_body:BlockExpr? | 342 | loop_body:BlockExpr |
344 | 343 | ||
345 | Label = | 344 | Label = |
346 | 'lifetime' | 345 | 'lifetime' |
@@ -418,13 +417,13 @@ SliceType = | |||
418 | '[' Type ']' | 417 | '[' Type ']' |
419 | 418 | ||
420 | InferType = | 419 | InferType = |
421 | '_' | 420 | '_' |
422 | 421 | ||
423 | FnPointerType = | 422 | FnPointerType = |
424 | 'const'? 'async'? 'unsafe'? Abi? 'fn' ParamList RetType? | 423 | 'const'? 'async'? 'unsafe'? Abi? 'fn' ParamList RetType? |
425 | 424 | ||
426 | ForType = | 425 | ForType = |
427 | 'for' GenericParamList Type | 426 | 'for' GenericParamList Type |
428 | 427 | ||
429 | ImplTraitType = | 428 | ImplTraitType = |
430 | 'impl' TypeBoundList | 429 | 'impl' TypeBoundList |
@@ -433,7 +432,7 @@ DynTraitType = | |||
433 | 'dyn' TypeBoundList | 432 | 'dyn' TypeBoundList |
434 | 433 | ||
435 | TypeBoundList = | 434 | TypeBoundList = |
436 | bounds:(TypeBound ('+' TypeBound)* '+'?) | 435 | bounds:(TypeBound ('+' TypeBound)* '+'?) |
437 | 436 | ||
438 | TypeBound = | 437 | TypeBound = |
439 | 'lifetime' | 438 | 'lifetime' |