@@ -2485,7 +2485,7 @@ pub fn item_path(ccx: &CrateContext, id: &ast::NodeId) -> path {
24852485 ty:: item_path ( ccx. tcx , ast_util:: local_def ( * id) )
24862486}
24872487
2488- fn exported_name ( ccx : @ mut CrateContext , path : path , ty : ty:: t , attrs : & [ ast:: Attribute ] ) -> ~str {
2488+ fn exported_name ( ccx : & mut CrateContext , path : path , ty : ty:: t , attrs : & [ ast:: Attribute ] ) -> ~str {
24892489 match attr:: first_attr_value_str_by_name ( attrs, "export_name" ) {
24902490 // Use provided name
24912491 Some ( name) => name. to_owned ( ) ,
@@ -2979,7 +2979,7 @@ pub fn decl_crate_map(sess: session::Session, mapmeta: LinkMeta,
29792979 return map;
29802980}
29812981
2982- pub fn fill_crate_map ( ccx : @ mut CrateContext , map : ValueRef ) {
2982+ pub fn fill_crate_map ( ccx : & mut CrateContext , map : ValueRef ) {
29832983 let mut subcrates: ~[ ValueRef ] = ~[ ] ;
29842984 let mut i = 1 ;
29852985 let cstore = ccx. sess . cstore ;
@@ -3030,7 +3030,7 @@ pub fn crate_ctxt_to_encode_parms<'r>(cx: &'r CrateContext, ie: encoder::encode_
30303030 }
30313031}
30323032
3033- pub fn write_metadata ( cx : & mut CrateContext , crate : & ast:: Crate ) {
3033+ pub fn write_metadata ( cx : & CrateContext , crate : & ast:: Crate ) {
30343034 if !* cx. sess . building_library { return ; }
30353035
30363036 let encode_inlined_item: encoder:: encode_inlined_item =
0 commit comments