mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Fix param gramamr
This commit is contained in:
parent
ba71f05438
commit
b2cdb0b226
@ -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…
x
Reference in New Issue
Block a user