Move vector addition out of trans and into libcore.

This commit is contained in:
Eric Holk 2012-06-13 16:14:01 -07:00
parent 51ba3518ec
commit f54829cf13
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,8 @@ class lookup {
}
fn add_candidates_from_param(n: uint, did: ast::def_id) {
#debug["candidates_from_param"];
let tcx = self.tcx();
let mut iface_bnd_idx = 0u; // count only iface bounds
let bounds = tcx.ty_param_bounds.get(did.node);