]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/type-alias-impl-trait/issue-58887.rs
3 // revisions: min_tait full_tait
4 #![feature(min_type_alias_impl_trait)]
5 #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
6 //[full_tait]~^ WARN incomplete
10 fn unwrap_items(self) -> Self::Iter
;
13 impl<I
, T
, E
> UnwrapItemsExt
for I
15 I
: Iterator
<Item
= Result
<T
, E
>>,
18 type Iter
= impl Iterator
<Item
= T
>;
20 fn unwrap_items(self) -> Self::Iter
{
21 self.map(|x
| x
.unwrap())