mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Improve ast::make
Add `ty_alias` and make `impl_trait` , `fn` and `impl_` have more coverage.
This commit is contained in:
parent
2120c913c2
commit
51ec2ced69
3 changed files with 132 additions and 40 deletions
|
@ -378,6 +378,8 @@ impl FunctionBuilder {
|
|||
fn_body,
|
||||
self.ret_type,
|
||||
self.is_async,
|
||||
false, // FIXME : const and unsafe are not handled yet.
|
||||
false,
|
||||
);
|
||||
let leading_ws;
|
||||
let trailing_ws;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue