1 #![feature(existential_type)]
5 fn unwrap_items(self) -> Self::Iter;
8 impl<I, T, E> UnwrapItemsExt for I
10 I: Iterator<Item = Result<T, E>>,
13 existential type Iter: Iterator<Item = T>;
14 //~^ ERROR: could not find defining uses
16 fn unwrap_items(self) -> Self::Iter {
17 //~^ ERROR: type parameter `T` is part of concrete type
18 //~| ERROR: type parameter `E` is part of concrete type
19 self.map(|x| x.unwrap())