Unnamed repository; edit this file 'description' to name the repository.
avoid attribute ambiguity in ExprStmt
Both expr stmt and expr can have attributes, which doesn't make sense.
Let's say that statement's attrs are those of the expression.
| -rw-r--r-- | lib/ungrammar/rust.ungram | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ungrammar/rust.ungram b/lib/ungrammar/rust.ungram index 52bdf323af..5a8e116137 100644 --- a/lib/ungrammar/rust.ungram +++ b/lib/ungrammar/rust.ungram @@ -318,7 +318,7 @@ LetStmt = '=' initializer:Expr ';' ExprStmt = - Attr* Expr ';'? + Expr ';'? Expr = ArrayExpr |