mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Fix param gramamr
This commit is contained in:
parent
ba71f05438
commit
b2cdb0b226
1 changed files with 5 additions and 2 deletions
|
@ -66,8 +66,11 @@ SelfParam =
|
||||||
)
|
)
|
||||||
|
|
||||||
Param =
|
Param =
|
||||||
Attr* Pat (':' ascribed_type:TypeRef)
|
Attr* (
|
||||||
| '...'
|
Pat (':' ascribed_type:TypeRef)
|
||||||
|
| ascribed_type:TypeRef
|
||||||
|
| '...'
|
||||||
|
)
|
||||||
|
|
||||||
RetType =
|
RetType =
|
||||||
'->' TypeRef
|
'->' TypeRef
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue