Refactor parse_ret_ty, start parsing by-alias return specs

This commit is contained in:
Marijn Haverbeke 2011-09-14 10:46:40 +02:00
parent 6eb9738a66
commit c1c083cd66
2 changed files with 24 additions and 51 deletions

View file

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