From e5d095d67e3926fa104ac495076fe9d4cd4f5562 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Tue, 31 Jan 2012 17:05:20 -0800 Subject: Change option::t to option Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming). --- src/comp/back/link.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/comp/back') diff --git a/src/comp/back/link.rs b/src/comp/back/link.rs index 068c8fddb33..b7a16d7e863 100644 --- a/src/comp/back/link.rs +++ b/src/comp/back/link.rs @@ -38,7 +38,7 @@ fn llvm_err(sess: session, msg: str) unsafe { } else { sess.fatal(msg + ": " + str::from_cstr(buf)); } } -fn load_intrinsics_bc(sess: session) -> option::t { +fn load_intrinsics_bc(sess: session) -> option { let path = alt filesearch::search( sess.filesearch, bind filesearch::pick_file("intrinsics.bc", _)) { @@ -368,14 +368,14 @@ fn build_link_meta(sess: session, c: ast::crate, output: str, sha: sha1) -> link_meta { type provided_metas = - {name: option::t, - vers: option::t, + {name: option, + vers: option, cmh_items: [@ast::meta_item]}; fn provided_link_metas(sess: session, c: ast::crate) -> provided_metas { - let name: option::t = none; - let vers: option::t = none; + let name: option = none; + let vers: option = none; let cmh_items: [@ast::meta_item] = []; let linkage_metas = attr::find_linkage_metas(c.node.attrs); attr::require_unique_names(sess, linkage_metas); -- cgit 1.4.1-3-g733a5