remove dead code

This commit is contained in:
Niko Matsakis 2012-04-21 10:17:10 -07:00
parent 4eb71c07c6
commit 7113a2c30b

View File

@ -1299,16 +1299,6 @@ fn replace_self_region(tcx: ty::ctxt, with_region: ty::region,
}
}
fn instantiate_bound_regions(tcx: ty::ctxt, region: ty::region, &&ty: ty::t)
-> ty::t {
ty::fold_region(tcx, ty) {|r, _under_rptr|
alt r {
ty::re_bound(_) { region }
_ { r }
}
}
}
// Item collection - a pair of bootstrap passes:
//
// (1) Collect the IDs of all type items (typedefs) and store them in a table.