rustc: Add inlineness to the fn decl instead

This commit is contained in:
Patrick Walton 2011-08-05 11:46:43 -07:00
parent 59e9b629c0
commit fd7ffd5ac2
4 changed files with 10 additions and 0 deletions

View file

@ -178,6 +178,7 @@ fn mk_tests(cx: &test_ctxt) -> @ast::item {
{inputs: ~[],
output: ret_ty,
purity: ast::impure_fn,
il: ast::il_normal,
cf: ast::return,
constraints: ~[]};
let proto = ast::proto_fn;
@ -295,6 +296,7 @@ fn mk_main(cx: &test_ctxt) -> @ast::item {
{inputs: ~[args_arg],
output: @ret_ty,
purity: ast::impure_fn,
il: ast::il_normal,
cf: ast::return,
constraints: ~[]};
let proto = ast::proto_fn;