Rename ast::proto_fn to ast::proto_shared

This commit is contained in:
Brian Anderson 2011-10-18 20:22:46 -07:00
parent 29ad3bdb10
commit 4b30a06abe
13 changed files with 32 additions and 31 deletions

View file

@ -192,7 +192,7 @@ fn mk_tests(cx: test_ctxt) -> @ast::item {
il: ast::il_normal,
cf: ast::return_val,
constraints: []};
let proto = ast::proto_fn;
let proto = ast::proto_shared;
// The vector of test_descs for this crate
let test_descs = mk_test_desc_vec(cx);
@ -214,7 +214,7 @@ fn mk_tests(cx: test_ctxt) -> @ast::item {
}
fn empty_fn_ty() -> ast::ty {
let proto = ast::proto_fn;
let proto = ast::proto_shared;
let input_ty = [];
let ret_ty = @nospan(ast::ty_nil);
let cf = ast::return_val;