Refactor parse_ret_ty, start parsing by-alias return specs
This commit is contained in:
parent
6eb9738a66
commit
c1c083cd66
2 changed files with 24 additions and 51 deletions
|
|
@ -381,7 +381,7 @@ tag ret_style {
|
|||
noreturn; // functions with return type _|_ that always
|
||||
// raise an error or exit (i.e. never return to the caller)
|
||||
return_val; // everything else
|
||||
return_alias;
|
||||
return_ref;
|
||||
}
|
||||
|
||||
type _fn = {decl: fn_decl, proto: proto, body: blk};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue