mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
fix generated AST
This commit is contained in:
parent
470fc4765c
commit
dcf8e89503
3 changed files with 4 additions and 3 deletions
|
@ -275,7 +275,7 @@ Grammar(
|
|||
"AttrsOwner",
|
||||
"DocCommentsOwner"
|
||||
],
|
||||
options: [ "ParamList", ["body", "Block"], "RetType" ],
|
||||
options: [ "ParamList", ["body", "BlockExpr"], "RetType" ],
|
||||
),
|
||||
"RetType": (options: ["TypeRef"]),
|
||||
"StructDef": (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue