Remove another instance of ty_open (fixup #22213)

This commit is contained in:
Manish Goregaokar 2015-02-24 12:25:56 +05:30
parent 89d5d2448d
commit 13efa52946

View File

@ -1699,8 +1699,6 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
Some(vec![referent_ty])
}
ty::ty_open(element_ty) => {Some(vec![element_ty])},
ty::ty_ptr(ty::mt { ty: element_ty, ..}) |
ty::ty_rptr(_, ty::mt { ty: element_ty, ..}) => {
Some(vec![element_ty])