Improve ast::make

Add `ty_alias` and make `impl_trait` , `fn` and `impl_` have more coverage.
This commit is contained in:
alibektas 2023-04-17 00:41:08 +03:00 committed by Ali Bektas
parent 2120c913c2
commit 51ec2ced69
3 changed files with 132 additions and 40 deletions

View file

@ -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;