mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 13:18:47 +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 =
|
||||
Attr* Pat (':' ascribed_type:TypeRef)
|
||||
| '...'
|
||||
Attr* (
|
||||
Pat (':' ascribed_type:TypeRef)
|
||||
| ascribed_type:TypeRef
|
||||
| '...'
|
||||
)
|
||||
|
||||
RetType =
|
||||
'->' TypeRef
|
||||
|
|
Loading…
Reference in a new issue