Remove unused variable.
This commit is contained in:
parent
e02716e6d3
commit
cac97d7ee5
1 changed files with 0 additions and 1 deletions
|
@ -387,7 +387,6 @@ fn encode_reexported_static_methods(ecx: @EncodeContext,
|
|||
Some(methods) => {
|
||||
match ecx.tcx.items.find(&exp.def_id.node) {
|
||||
Some(&ast_map::node_item(item, path)) => {
|
||||
let interner = ecx.tcx.sess.parse_sess.interner;
|
||||
let original_name = ecx.tcx.sess.str_of(item.ident);
|
||||
if mod_path != *path || *exp.name != *original_name {
|
||||
for methods.each |&m| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue