From 8c078a01641518a6b093922d4b1d27d1a98bad08 Mon Sep 17 00:00:00 2001 From: uHOOCCOOHu Date: Wed, 11 Sep 2019 23:53:41 +0800 Subject: Infer box expression --- crates/ra_syntax/src/grammar.ron | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/ra_syntax/src/grammar.ron') diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 993e58e64..8f064711d 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron @@ -483,6 +483,7 @@ Grammar( "CastExpr": (options: ["Expr", "TypeRef"]), "RefExpr": (options: ["Expr"]), "PrefixExpr": (options: ["Expr"]), + "BoxExpr": (options: ["Expr"]), "RangeExpr": (), "BinExpr": (), @@ -520,6 +521,7 @@ Grammar( "BinExpr", "Literal", "MacroCall", + "BoxExpr", ], ), -- cgit v1.2.3