diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-12 11:53:29 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-12 11:53:29 +0100 |
commit | a1261631a89f7169a3f84dec33aff61758c601e3 (patch) | |
tree | 773c687fe89b8cec009de17142b3a59e80468b21 /crates/ra_syntax/src/grammar.ron | |
parent | 561e7aea5bdaf6c51e0a87da9ff1d73e2df52be1 (diff) | |
parent | 8c078a01641518a6b093922d4b1d27d1a98bad08 (diff) |
Merge #1818
1818: Infer box expression r=matklad a=uHOOCCOOHu
Infer `box e` to be `std::boxed::Box<T>` where `e: T`
Co-authored-by: uHOOCCOOHu <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/grammar.ron')
-rw-r--r-- | crates/ra_syntax/src/grammar.ron | 2 |
1 files changed, 2 insertions, 0 deletions
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( | |||
483 | "CastExpr": (options: ["Expr", "TypeRef"]), | 483 | "CastExpr": (options: ["Expr", "TypeRef"]), |
484 | "RefExpr": (options: ["Expr"]), | 484 | "RefExpr": (options: ["Expr"]), |
485 | "PrefixExpr": (options: ["Expr"]), | 485 | "PrefixExpr": (options: ["Expr"]), |
486 | "BoxExpr": (options: ["Expr"]), | ||
486 | "RangeExpr": (), | 487 | "RangeExpr": (), |
487 | "BinExpr": (), | 488 | "BinExpr": (), |
488 | 489 | ||
@@ -520,6 +521,7 @@ Grammar( | |||
520 | "BinExpr", | 521 | "BinExpr", |
521 | "Literal", | 522 | "Literal", |
522 | "MacroCall", | 523 | "MacroCall", |
524 | "BoxExpr", | ||
523 | ], | 525 | ], |
524 | ), | 526 | ), |
525 | 527 | ||