mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 04:18:20 +00:00
Add gen modifier to functions
We don't yet lower or maybe even parse them, but blocks already have `gen`, so why not.
This commit is contained in:
parent
506b9663bf
commit
cc07652be5
9 changed files with 38 additions and 4 deletions
|
|
@ -186,7 +186,7 @@ UseTreeList =
|
|||
|
||||
Fn =
|
||||
Attr* Visibility?
|
||||
'default'? 'const'? 'async'? 'unsafe'? Abi?
|
||||
'default'? 'const'? 'async'? 'gen'? 'unsafe'? Abi?
|
||||
'fn' Name GenericParamList? ParamList RetType? WhereClause?
|
||||
(body:BlockExpr | ';')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue