Don't fail when emitting free glue for fixed and region evecs.
This commit is contained in:
@@ -713,9 +713,6 @@ fn make_free_glue(bcx: block, v: ValueRef, t: ty::t) {
|
|||||||
tvec::expand_boxed_vec_ty(bcx.tcx(), t));
|
tvec::expand_boxed_vec_ty(bcx.tcx(), t));
|
||||||
ret;
|
ret;
|
||||||
}
|
}
|
||||||
ty::ty_evec(_, _) {
|
|
||||||
bcx.sess().unimpl("trans::base::make_free_glue on other evec");
|
|
||||||
}
|
|
||||||
ty::ty_fn(_) {
|
ty::ty_fn(_) {
|
||||||
closure::make_fn_glue(bcx, v, t, free_ty)
|
closure::make_fn_glue(bcx, v, t, free_ty)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user