Skip to content

Commit

Permalink
auto merge of #6545 : catamorphism/rust/unused-import, r=catamorphism
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed May 17, 2013
2 parents f89e00b + 1bf4f90 commit 17970a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/librustc/middle/trans/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2228,8 +2228,7 @@ pub fn register_fn_fuller(ccx: @CrateContext,
mangle_exported_name(ccx, /*bad*/copy path, node_type)
};

// XXX: Bad copy.
let llfn: ValueRef = decl_fn(ccx.llmod, copy ps, cc, llfty);
let llfn: ValueRef = decl_fn(ccx.llmod, ps, cc, llfty);
ccx.item_symbols.insert(node_id, ps);

// FIXME #4404 android JNI hacks
Expand Down
1 change: 0 additions & 1 deletion src/librustc/middle/trans/datum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ use middle::ty;
use util::common::indenter;
use util::ppaux::ty_to_str;

use core::container::Set; // XXX: this should not be necessary
use core::to_bytes;
use syntax::ast;
use syntax::codemap::span;
Expand Down

0 comments on commit 17970a9

Please sign in to comment.