Skip to content

Commit 17970a9

Browse files
committed
auto merge of #6545 : catamorphism/rust/unused-import, r=catamorphism
2 parents f89e00b + 1bf4f90 commit 17970a9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/librustc/middle/trans/base.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2228,8 +2228,7 @@ pub fn register_fn_fuller(ccx: @CrateContext,
22282228
mangle_exported_name(ccx, /*bad*/copy path, node_type)
22292229
};
22302230
2231-
// XXX: Bad copy.
2232-
let llfn: ValueRef = decl_fn(ccx.llmod, copy ps, cc, llfty);
2231+
let llfn: ValueRef = decl_fn(ccx.llmod, ps, cc, llfty);
22332232
ccx.item_symbols.insert(node_id, ps);
22342233
22352234
// FIXME #4404 android JNI hacks

src/librustc/middle/trans/datum.rs

-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ use middle::ty;
101101
use util::common::indenter;
102102
use util::ppaux::ty_to_str;
103103

104-
use core::container::Set; // XXX: this should not be necessary
105104
use core::to_bytes;
106105
use syntax::ast;
107106
use syntax::codemap::span;

0 commit comments

Comments
 (0)