diff options
author | Lenard Pratt <[email protected]> | 2019-03-30 10:50:00 +0000 |
---|---|---|
committer | Lenard Pratt <[email protected]> | 2019-03-30 10:50:00 +0000 |
commit | 7f3bf7cc738d02fde80d4fde9f32cbbe72896b87 (patch) | |
tree | e4a3e7121fd4dd8971f0028177b777a77cdcc6c0 /crates/ra_syntax/src | |
parent | 2a770190b07ee43364a66a65b886f7efa822ec6f (diff) |
Added defWithBody
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 1 | ||||
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 47a37e4d1..31b4e73fb 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -657,6 +657,7 @@ impl ToOwned for ContinueExpr { | |||
657 | } | 657 | } |
658 | 658 | ||
659 | 659 | ||
660 | |||
660 | impl ContinueExpr {} | 661 | impl ContinueExpr {} |
661 | 662 | ||
662 | // DynTraitType | 663 | // DynTraitType |
diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index ad6d74162..19e50c9b8 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron | |||
@@ -313,6 +313,7 @@ Grammar( | |||
313 | "DocCommentsOwner", | 313 | "DocCommentsOwner", |
314 | "TypeAscriptionOwner", | 314 | "TypeAscriptionOwner", |
315 | ], | 315 | ], |
316 | options: ["body","Block"], | ||
316 | ), | 317 | ), |
317 | "StaticDef": ( | 318 | "StaticDef": ( |
318 | traits: [ | 319 | traits: [ |
@@ -323,6 +324,7 @@ Grammar( | |||
323 | "DocCommentsOwner", | 324 | "DocCommentsOwner", |
324 | "TypeAscriptionOwner", | 325 | "TypeAscriptionOwner", |
325 | ], | 326 | ], |
327 | options: ["body","Block"], | ||
326 | ), | 328 | ), |
327 | "TypeAliasDef": ( | 329 | "TypeAliasDef": ( |
328 | traits: [ | 330 | traits: [ |