mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Added const bodies and static body to the ast
and added inference the inference test reduce code duplication
This commit is contained in:
parent
7f3bf7cc73
commit
88e22e9d70
10 changed files with 180 additions and 91 deletions
|
@ -313,7 +313,7 @@ Grammar(
|
|||
"DocCommentsOwner",
|
||||
"TypeAscriptionOwner",
|
||||
],
|
||||
options: ["body","Block"],
|
||||
options: [ ["body","Expr"]],
|
||||
),
|
||||
"StaticDef": (
|
||||
traits: [
|
||||
|
@ -324,7 +324,7 @@ Grammar(
|
|||
"DocCommentsOwner",
|
||||
"TypeAscriptionOwner",
|
||||
],
|
||||
options: ["body","Block"],
|
||||
options: [ ["body","Expr"]],
|
||||
),
|
||||
"TypeAliasDef": (
|
||||
traits: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue