Skip to content

Commit 59645c1

Browse files
committed
back: link: remove dead code
1 parent 74ddaa2 commit 59645c1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/librustc/back/link.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -687,16 +687,6 @@ pub fn mangle_exported_name(ccx: &CrateContext, path: PathElems,
687687
exported_name(path, hash, ccx.link_meta.crateid.version_or_default())
688688
}
689689

690-
pub fn mangle_internal_name_by_type_only(ccx: &CrateContext,
691-
t: ty::t,
692-
name: &str) -> ~str {
693-
let s = ppaux::ty_to_short_str(ccx.tcx(), t);
694-
let path = [PathName(token::intern(name)),
695-
PathName(token::intern(s))];
696-
let hash = get_symbol_hash(ccx, t);
697-
mangle(ast_map::Values(path.iter()), Some(hash.as_slice()), None)
698-
}
699-
700690
pub fn mangle_internal_name_by_type_and_seq(ccx: &CrateContext,
701691
t: ty::t,
702692
name: &str) -> ~str {

0 commit comments

Comments
 (0)