From 7f3bf7cc738d02fde80d4fde9f32cbbe72896b87 Mon Sep 17 00:00:00 2001 From: Lenard Pratt Date: Sat, 30 Mar 2019 10:50:00 +0000 Subject: Added defWithBody --- crates/ra_syntax/src/ast/generated.rs | 1 + crates/ra_syntax/src/grammar.ron | 2 ++ 2 files changed, 3 insertions(+) (limited to 'crates/ra_syntax/src') 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 { } + impl ContinueExpr {} // 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( "DocCommentsOwner", "TypeAscriptionOwner", ], + options: ["body","Block"], ), "StaticDef": ( traits: [ @@ -323,6 +324,7 @@ Grammar( "DocCommentsOwner", "TypeAscriptionOwner", ], + options: ["body","Block"], ), "TypeAliasDef": ( traits: [ -- cgit v1.2.3