mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +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
|
@ -365,6 +365,7 @@ impl FunctionBuilder {
|
|||
self.is_async,
|
||||
false, // FIXME : const and unsafe are not handled yet.
|
||||
false,
|
||||
false,
|
||||
)
|
||||
.clone_for_update();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue