about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-24 12:25:56 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-24 12:25:56 +0530
commit13efa529462a0f12bb0ffba7ed1ea58925e6a1b7 (patch)
treee945d43591515c83655db133f8ee65dbbf98fee1 /src
parent89d5d2448d574577e6772dbfef0ff5b1d1e0d238 (diff)
Remove another instance of ty_open (fixup #22213)
Diffstat (limited to 'src')
-rw-r--r--src/librustc/middle/traits/select.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc/middle/traits/select.rs b/src/librustc/middle/traits/select.rs
index d42fd987ba8..8086ca71e01 100644
--- a/src/librustc/middle/traits/select.rs
+++ b/src/librustc/middle/traits/select.rs
@@ -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])